From 5bb83f32833344bf5b386a6e2d74f599416b54df Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 27 Apr 2010 09:53:47 +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(-) (limited to 'xlators') diff --git a/xlators/cluster/dht/src/dht-selfheal.c b/xlators/cluster/dht/src/dht-selfheal.c index a254b0ddcb9..8afa0632b89 100644 --- a/xlators/cluster/dht/src/dht-selfheal.c +++ b/xlators/cluster/dht/src/dht-selfheal.c @@ -411,7 +411,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