From e026edec58aa234ef0c923eb6fed50dc227b7f8a Mon Sep 17 00:00:00 2001 From: Harshavardhana Ranganath Date: Sun, 6 Dec 2009 21:16:12 +0000 Subject: Save st_dev properly in stbuf.st_dev from the same subvolume. Signed-off-by: Harshavardhana Signed-off-by: Anand V. Avati 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 --- xlators/cluster/dht/src/dht-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit