[PATCH] md: remove a number of misleading calls to MD_BUG
authorNeilBrown <neilb@cse.unsw.edu.au>
Sat, 16 Apr 2005 22:26:42 +0000 (15:26 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:26:42 +0000 (15:26 -0700)
commita757e64cfa400391041ed7953f0290c34a820c93
tree73214a96945eb017e33c0f732ad0f1e8d10c2e8e
parentd28446fe2d87ea344c14741c39962dcc7aee5c78
[PATCH] md: remove a number of misleading calls to MD_BUG

The conditions that cause these calls to MD_BUG are not kernel bugs, just
oddities in what userspace is asking for.

Also convert analyze_sbs to return void, and the value it returned was
always 0.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c