From c8a0827765e78b285ca50cb26ab1dca620e3bfe1 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 27 Apr 2010 09:56:00 +0000 Subject: dht: don't overwrite the layout after the subvolume expansion Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 864 (dht self-heal overwrites layout causing 'missing' files.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=864 --- xlators/cluster/dht/src/dht-selfheal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/cluster/dht/src/dht-selfheal.c b/xlators/cluster/dht/src/dht-selfheal.c index 8380535f69b..8cfb1f41f28 100644 --- a/xlators/cluster/dht/src/dht-selfheal.c +++ b/xlators/cluster/dht/src/dht-selfheal.c @@ -413,7 +413,7 @@ dht_selfheal_dir_getafix (call_frame_t *frame, loc_t *loc, ret = 0; } - if (holes || missing || overlaps) { + if (holes || overlaps) { dht_selfheal_layout_new_directory (frame, loc, layout); ret = 0; } -- cgit