Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix new incorrect error return from do_md_stop.
Recent commit c8c00a6 changed the exit paths in do_md_stop and was not quite careful enough. There is one path were 'err' now needs to be cleared but it isn't. So setting an array to readonly (with mdadm --readonly) will work, but will incorrectly report and error: ENXIO. Signed-off-by: NeilBrown <[email protected]>
- Loading branch information