From: NeilBrown Date: Wed, 27 Jul 2011 01:00:36 +0000 (+1000) Subject: md/raid5: unite fetch_block5 and fetch_block6 X-Git-Tag: v3.1-rc1~131^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93b3dbce6456a79c545b45e86ccc2244e923cc99;p=pandora-kernel.git md/raid5: unite fetch_block5 and fetch_block6 Provided that ->failed_num[1] is not a valid device number (which is easily achieved) fetch_block6 provides all the functionality of fetch_block5. So remove the latter and rename the former to simply "fetch_block". Then handle_stripe_fill5 and handle_stripe_fill6 become the same and can similarly be united. Signed-off-by: NeilBrown Reviewed-by: Namhyung Kim --- Reading git-diff-tree failed