commit | 3285edf152cefff482f95ceb90b1bd46ac169df1 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Jun 26 00:27:55 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Jun 26 09:58:39 2006 -0700 |
tree | 88dd6e57f6405d71c621f136d236e1dde599e5a7 | |
parent | b3cc9ec76ba44d010f4c820c4608b91aaf28a0b9 [diff] |
[PATCH] md: Fix bug that stops raid5 resync from happening As data_disks is *less* than raid_disks, the current test here is obviously wrong. And as the difference is already available in conf->max_degraded, it makes much more sense to use that. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>