md/raid5: move resolving of reconstruct_state earlier in
authorNeilBrown <neilb@suse.de>
Wed, 21 Nov 2012 22:13:36 +0000 (09:13 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 21 Nov 2012 22:14:09 +0000 (09:14 +1100)
stripe_handle.

The chunk of code in stripe_handle which responds to a
*_result value in reconstruct_state is really the completion
of some processing that happened outside of handle_stripe
(possibly asynchronously) and so should be one of the first
things done in handle_stripe().

After the next patch it will be important that it happens before
handle_stripe_clean_event(), as that will clear some dev->flags
bit that this code tests.

Signed-off-by: NeilBrown <neilb@suse.de>

No differences found