md/raid5: separate large if clause out of fetch_block().
authorNeilBrown <neilb@suse.de>
Mon, 2 Feb 2015 00:32:23 +0000 (11:32 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 3 Feb 2015 21:35:51 +0000 (08:35 +1100)
commit2c58f06e6fe23905c4c586191bef0acc51536a9d
tree13cc8dbbb328ba28c192a6e27313ac658f38e13a
parentad3ab8b608c454f004391bb8568916bd955001ea
md/raid5: separate large if clause out of fetch_block().

fetch_block() has a very large and hard to read 'if' condition.

Separate it into its own function so that it can be
made more readable.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c