From a27e706e3105dc363bcbe3c0e3c91979cc6c89a0 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Thu, 1 Oct 2009 06:58:48 +0000 Subject: unify: NFS-friendly logic changes Signed-off-by: Anand V. Avati BUG: 145 (NFSv3 related additions to 2.1 task list) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=145 --- xlators/cluster/unify/src/unify-self-heal.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'xlators/cluster/unify/src/unify-self-heal.c') diff --git a/xlators/cluster/unify/src/unify-self-heal.c b/xlators/cluster/unify/src/unify-self-heal.c index 7c62495c2..22532441d 100644 --- a/xlators/cluster/unify/src/unify-self-heal.c +++ b/xlators/cluster/unify/src/unify-self-heal.c @@ -178,7 +178,8 @@ unify_sh_setdents_cbk (call_frame_t *frame, unify_local_wipe (local); STACK_UNWIND (frame, local->op_ret, local->op_errno, - inode, &local->stbuf, local->dict); + inode, &local->stbuf, local->dict, + &local->oldpostparent); if (tmp_dict) dict_unref (tmp_dict); } @@ -501,7 +502,7 @@ unify_sh_opendir_cbk (call_frame_t *frame, /* This is lookup_cbk ()'s UNWIND. */ STACK_UNWIND (frame, local->op_ret, local->op_errno, inode, - &local->stbuf, local->dict); + &local->stbuf, local->dict, &local->oldpostparent); if (tmp_dict) dict_unref (tmp_dict); } @@ -628,7 +629,7 @@ unify_sh_checksum_cbk (call_frame_t *frame, local->op_errno, inode, &local->stbuf, - local->dict); + local->dict, &local->oldpostparent); if (tmp_dict) dict_unref (tmp_dict); } @@ -1215,7 +1216,8 @@ zr_unify_self_heal (call_frame_t *frame, local->op_errno, tmp_inode, &local->stbuf, - local->dict); + local->dict, + &local->oldpostparent); if (tmp_dict) dict_unref (tmp_dict); -- cgit