]> git.neil.brown.name Git - history.git/commit
[PATCH] fix MD "bio too big" errors
authorAndrew Morton <akpm@osdl.org>
Thu, 25 Sep 2003 07:59:01 +0000 (00:59 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 25 Sep 2003 07:59:01 +0000 (00:59 -0700)
commitaf5931c3c0d4f64b6c76ed9792f909f74c428184
tree001200e96602251af73204e17214cd8760c7d541
parent69f5a5c866227a2f1476b07db76077407e9f5c41
[PATCH] fix MD "bio too big" errors

This is pretty high on the puke-o-meter, but a zero means "infinity" for
max_sectors.

So we can't use "min()" to determine who has the smallest max_sector,
and we'll have to use a special "min_not_zero()" compatison.

Run away, run away.
drivers/block/ll_rw_blk.c