diff options
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index 3a38b67ffa0..36d503dfa6d 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -282,6 +282,8 @@ dht_revalidate_cbk (call_frame_t *frame, void *cookie, xlator_t *this, local->op_ret = 0; local->stbuf.st_ino = local->st_ino; + local->stbuf.st_dev = local->loc.inode->generation; + if (local->loc.parent) local->postparent.st_ino = local->loc.parent->ino; @@ -2930,6 +2932,7 @@ dht_mkdir_selfheal_cbk (call_frame_t *frame, void *cookie, if (op_ret == 0) { dht_layout_set (this, local->inode, layout); local->stbuf.st_ino = local->st_ino; + local->stbuf.st_ino = local->st_dev; if (local->loc.parent) { local->preparent.st_ino = local->loc.parent->ino; local->postparent.st_ino = local->loc.parent->ino; @@ -3032,6 +3035,7 @@ dht_mkdir_hashed_cbk (call_frame_t *frame, void *cookie, dht_stat_merge (this, &local->postparent, postparent, prev->this); local->st_ino = local->stbuf.st_ino; + local->st_dev = local->stbuf.st_dev; local->call_cnt = conf->subvolume_cnt - 1; |