[PATCH] md: use correct size of raid5 stripe cache when measuring how full it is
authorNeilBrown <neilb@suse.de>
Mon, 12 Dec 2005 10:39:17 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 12 Dec 2005 17:06:04 +0000 (09:06 -0800)
The raid5 stripe cache was recently changed from fixed size (NR_STRIPES) to
variable size (conf->max_nr_stripes).  However there are two places that still
use the constant and as a result, reducing the size of the stripe cache can
result in a deadlock.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found