From: NeilBrown Date: Mon, 12 Dec 2005 10:39:17 +0000 (-0800) Subject: [PATCH] md: use correct size of raid5 stripe cache when measuring how full it is X-Git-Tag: v2.6.15-rc6~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5036805be7b815eb18dcce489d974f3aee4f3841;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed