From: NeilBrown Date: Fri, 8 May 2015 08:19:32 +0000 (+1000) Subject: md/raid5: more incorrect BUG_ON in handle_stripe_fill. X-Git-Tag: omap-for-v4.2/wakeirq-drivers~2^2~39^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0c783b32318bef29d64086fa812e8c659cb5b37;p=pandora-kernel.git md/raid5: more incorrect BUG_ON in handle_stripe_fill. It is not incorrect to call handle_stripe_fill() when a batch of full-stripe writes is active. It is, however, a BUG if fetch_block() then decides it needs to actually fetch anything. So move the 'BUG_ON' to where it belongs. Signed-off-by: NeilBrown Fixes: 59fc630b8b5f ("RAID5: batch adjacent full stripe write") --- Reading git-diff-tree failed