• Neil Brown's avatar
    [PATCH] md: Always allow a half-built md array to be stopped. · 8d9387d1
    Neil Brown authored
    When starting an array fails, we have to tear it down, but
    in some circumstances (particularly autostart_array) the
    reference count will be 3, so do_md_stop will fail.
    
    With this patch we only worry about the number of users
    is the array has been fully started.
    8d9387d1
md.c 81.4 KB