commit | e11e93facc38fb264a5ff1e154ebb2f11dc5cffa | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed May 09 02:35:36 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed May 09 12:30:57 2007 -0700 |
tree | 0128d05a5a3d51704f25ad4622b5dad4078d1430 | |
parent | c3f94b40e1676172dfa88abfffd8baffe7ac607c [diff] |
md: move test for whether level supports bitmap to correct place We need to check for internal-consistency of superblock in load_super. validate_super is for inter-device consistency. With the test in the wrong place, a badly created array will confuse md rather an produce sensible errors. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>