Skip to content
Commit ba8805b9 authored by NeilBrown's avatar NeilBrown
Browse files

md/raid5.c: add proper locking to error path of raid5_start_reshape.



If raid5_start_reshape errors out, we need to reset all the fields
that were updated (not just some), and need to use the seq_counter
to ensure make_request() doesn't use an inconsitent state.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 02e5f5c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment