diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2010-02-25 15:38:02 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-03-04 03:13:09 -0800 |
commit | 59947fc4c28a0310d76a663d2440c08b762ed3fd (patch) | |
tree | 327c8ab50672cf88bb98f42f29fb6f9a767b2c78 /xlators/cluster/dht/src | |
parent | b49ad40a7e7f656b509291b07bf539c64bae3ee1 (diff) |
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
Diffstat (limited to 'xlators/cluster/dht/src')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index 252dfff4471..523a62429f6 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -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: |