diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-22 15:36:17 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-22 15:36:17 -0800 |
commit | ad1fca2003822ff2f24c88ad68a29970c5e0d0a7 (patch) | |
tree | 710fdaa4423365414bd2ab43b135557b7469fc39 /drivers/md/md.c | |
parent | b3b1b70e62a603f473619dbebc3b3d23f535e6f8 (diff) | |
parent | 961902c0f8240175729274cd14198872f42072b7 (diff) |
Merge branch 'for-linus' of git://neil.brown.name/md
* 'for-linus' of git://neil.brown.name/md:
md/bitmap: It is OK to clear bits during recovery.
md: don't give up looking for spares on first failure-to-add
md/raid5: ensure correct assessment of drives during degraded reshape.
md/linear: fix hot-add of devices to linear arrays.
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index ee981737edf..f47f1f8ac44 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -7360,8 +7360,7 @@ static int remove_and_add_spares(struct mddev *mddev) spares++; md_new_event(mddev); set_bit(MD_CHANGE_DEVS, &mddev->flags); - } else - break; + } } } } |