• NeilBrown's avatar
    md: call md_stop_writes from md_stop · cca9cf90
    NeilBrown authored
    This moves the call to the other side of set_readonly, but that should
    not be an issue.
    This encapsulates in 'md_stop' all of the functionality for internally
    stopping the array, leaving all the interactions with externalities
    (sysfs, request_queue, gendisk) in do_md_stop.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    cca9cf90
md.c 187 KB