]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd855227a9a1275ab4980b0aed17674dbd2757795
treeb6a42d9855ec543019b0b4121a67f10af60924a4
parent395f3b8887904880529b16c118438191b2e36743
[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