[PATCH] Tidy up some handling of sb_dirty in md.c
when do_md_run fails mddev->pers is not set, so do_md_stop will not try to write out the superblock so there is no need to set sb_dirty to 0.
Showing
Please register or sign in to comment