diff options
author | Harshavardhana Ranganath <harsha@gluster.com> | 2009-12-06 21:16:12 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-12-06 22:16:54 -0800 |
commit | e026edec58aa234ef0c923eb6fed50dc227b7f8a (patch) | |
tree | 67e201c0e69249225a981429780b7e946dcfd07d /xlators/cluster/dht/src/dht-common.c | |
parent | 3b2c86c8ed77b04cda05b7cbd8e73f6d01db1bed (diff) |
Save st_dev properly in stbuf.st_dev from the same subvolume.
Signed-off-by: Harshavardhana <harsha@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 433 (Posix conformance test failed on 3.0.0pre2 (Dec 3) release)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=433
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index c1689fe759e..50307eb10c4 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -2935,7 +2935,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; + local->stbuf.st_dev = local->st_dev; if (local->loc.parent) { local->preparent.st_ino = local->loc.parent->ino; local->postparent.st_ino = local->loc.parent->ino; |