diff options
| author | Shehjar Tikoo <shehjart@gluster.com> | 2009-10-01 06:58:48 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-01 07:22:51 -0700 | 
| commit | a27e706e3105dc363bcbe3c0e3c91979cc6c89a0 (patch) | |
| tree | a691337ff2925c29102daa175ccd17245d73fbb8 /xlators/cluster/unify/src/unify-self-heal.c | |
| parent | e11d66c8d6dea72d02f9bcdbf65c67bd5c60b5cc (diff) | |
unify: NFS-friendly logic changes
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 145 (NFSv3 related additions to 2.1 task list)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=145
Diffstat (limited to 'xlators/cluster/unify/src/unify-self-heal.c')
| -rw-r--r-- | xlators/cluster/unify/src/unify-self-heal.c | 10 | 
1 files changed, 6 insertions, 4 deletions
diff --git a/xlators/cluster/unify/src/unify-self-heal.c b/xlators/cluster/unify/src/unify-self-heal.c index 7c62495c2d9..22532441db1 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);  | 
