From: NeilBrown Date: Mon, 2 Feb 2015 00:49:10 +0000 (+1100) Subject: md/raid5: need_this_block: start simplifying the last two conditions. X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~104^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9d56950f763fa3e9d831541e62d223197d2ff60;p=pandora-kernel.git md/raid5: need_this_block: start simplifying the last two conditions. Both the last two cases are only relevant if something has failed and something needs to be written (but not over-written), and if it is OK to pre-read blocks at this point. So factor out those tests and explain them. Signed-off-by: NeilBrown --- Reading git-diff-tree failed