Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

md: Don't try to set an array to 'read-auto' if it is already in that state.



'read-auto' is a variant of 'readonly' which will switch to writable
on the first write attempt.

Calling do_md_stop to set the array readonly when it is already readonly
returns an error.  So make sure not to do that.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent ea43ddd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment