From 72e82741b52fb749eb912f97848b707d97ec69ff Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Sun, 6 Dec 2009 12:47:25 +0000 Subject: distribute: return st_dev from the same subvol from where itransform is performed distribute should return st_dev from the same subvolume it itransforms the inode number. this is to ensure that there will not be false replacements of inodes in inode management Signed-off-by: Anand V. Avati 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.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/cluster/dht/src/dht-common.h') diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index c417a8596..5a43f9c06 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -73,6 +73,7 @@ struct dht_local { dht_layout_t *layout; size_t size; ino_t st_ino; + ino_t st_dev; xlator_t *src_hashed, *src_cached; xlator_t *dst_hashed, *dst_cached; xlator_t *cached_subvol; -- cgit