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:
Shehjar Tikoo 2010-02-25 15:38:02 +00:00 committed by Anand V. Avati
parent b49ad40a7e
commit 59947fc4c2

View File

@ -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: