diff options
author | NeilBrown <neilb@suse.de> | 2006-01-06 00:20:55 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:34:09 -0800 |
commit | 2bf071bf50580380a8c3afe5eef8152a66be96c7 (patch) | |
tree | 513ef2291446e2b489a2281df4d1f21fb6fb3d96 /drivers/mca | |
parent | da943b9912df063322d37b1a1f285460531d481d (diff) |
[PATCH] md: keep better track of dev/array size when assembling md arrays
Move the checks - that dev size is never less than array size - into
bind_rdev_to_array to make sure it always happens properly (there is one place
where currently it doesn't).
Also reject any superblock which claims an array size smaller than the device
in question can hold.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/mca')
0 files changed, 0 insertions, 0 deletions