aboutsummaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2005-12-12 02:39:17 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-12 09:06:04 -0800
commit5036805be7b815eb18dcce489d974f3aee4f3841 (patch)
tree3d112acbe459fafee17f41cb634e483080b48607 /net/core
parent3795bb0fc52fe2af2749f3ad2185cb9c90871ef8 (diff)
[PATCH] md: use correct size of raid5 stripe cache when measuring how full it is
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>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions