summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-07-26 05:35:35 +0400
committerNeilBrown <neilb@suse.de>2011-07-26 05:35:35 +0400
commitcc94015a9eac5d511fe9b716624d8fdf9c6e64b2 (patch)
treef8bc6cb3e5733f7101ea66223c27e30dc09b9bb1 /Makefile
parentc5709ef6a094c72b56355590bfa55cc107e98376 (diff)
downloadlinux-cc94015a9eac5d511fe9b716624d8fdf9c6e64b2.tar.xz
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 <neilb@suse.de> Reviewed-by: Namhyung Kim <namhyung@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions