diff options
author | Amar Tumballi <amar@gluster.com> | 2010-04-27 09:53:47 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-04-29 23:10:27 -0700 |
commit | 5bb83f32833344bf5b386a6e2d74f599416b54df (patch) | |
tree | 96845d68c9f7f3ebd4673ca753f8104baf9f3dc3 /xlators/cluster/dht/src | |
parent | c2d13a1685728add650c9bc1760c58cc2da5be1e (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 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; } |