From: NeilBrown Date: Tue, 26 Jul 2011 01:35:35 +0000 (+1000) Subject: md/raid5: move stripe_head_state and more code into handle_stripe. X-Git-Tag: v3.1-rc1~131^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc94015a9eac5d511fe9b716624d8fdf9c6e64b2;p=pandora-kernel.git md/raid5: move stripe_head_state and more code into handle_stripe. By defining the 'stripe_head_state' in 'handle_stripe', we can move some common code out of handle_stripe[56]() and into handle_stripe. The means that all accesses for stripe_head_state in handle_stripe[56] need to be 's->' instead of 's.', but the compiler should inline those functions and just use a direct stack reference, and future patches while hoist most of this code up into handle_stripe() so we will revert to "s.". Signed-off-by: NeilBrown Reviewed-by: Namhyung Kim --- Reading git-diff-tree failed