replicate: Use link's parent ino for post/pre-parent not target dir's
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 597 (miscellaneous fixes for xlators to work well with NFS xlator) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=597
This commit is contained in:
parent
5493db0d06
commit
ed54528c22
@ -1067,7 +1067,7 @@ afr_link (call_frame_t *frame, xlator_t *this,
|
||||
local->cont.link.ino = oldloc->inode->ino;
|
||||
|
||||
if (oldloc->parent)
|
||||
local->cont.link.parent_ino = oldloc->parent->ino;
|
||||
local->cont.link.parent_ino = newloc->parent->ino;
|
||||
|
||||
local->transaction.fop = afr_link_wind;
|
||||
local->transaction.done = afr_link_done;
|
||||
|
Loading…
x
Reference in New Issue
Block a user