distribute: Return pre/post-parent on successful unlink
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
b49ad40a7e
commit
59947fc4c2
@ -1217,6 +1217,8 @@ dht_unlink_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
|
||||
goto unlock;
|
||||
}
|
||||
|
||||
preparent->st_ino = local->loc.parent->ino;
|
||||
postparent->st_ino = local->loc.parent->ino;
|
||||
local->op_ret = 0;
|
||||
}
|
||||
unlock:
|
||||
|
Loading…
x
Reference in New Issue
Block a user