md/raid5: call break_stripe_batch_list from handle_stripe_clean_event
authorNeilBrown <neilb@suse.de>
Thu, 21 May 2015 02:56:41 +0000 (12:56 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 28 May 2015 01:47:02 +0000 (11:47 +1000)
Now that the code in break_stripe_batch_list() is nearly identical
to the end of handle_stripe_clean_event, replace the later
with a function call.

The only remaining difference of any interest is the masking that is
applieds to dev[i].flags copied from head_sh.
R5_WriteError certainly isn't wanted as it is set per-stripe, not
per-patch.  R5_Overlap isn't wanted as it is explicitly handled.

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

Simple merge