diff options
author | Amar Tumballi <amar@gluster.com> | 2010-04-27 09:56:00 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-04-29 23:10:19 -0700 |
commit | c8a0827765e78b285ca50cb26ab1dca620e3bfe1 (patch) | |
tree | 43f8bf18b64d9738f5f0e72eee9ba2e429214e83 /xlators/cluster/dht/src | |
parent | b03a5683680b7be5ff7c88083276811a381aac68 (diff) |
dht: don't overwrite the layout after the subvolume expansion
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 864 (dht self-heal overwrites layout causing 'missing' files.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=864
Diffstat (limited to 'xlators/cluster/dht/src')
-rw-r--r-- | xlators/cluster/dht/src/dht-selfheal.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |