• Chris Mason's avatar
    Btrfs: EIO when we fail to read tree roots · 68433b73
    Chris Mason authored
    If we just get a plain IO error when we read tree roots, the code
    wasn't properly sending that error up the chain.  This allowed mounts to
    continue when they should failed, and allowed operations
    on partially setup root structs.  The end result was usually oopsen
    on spinlocks that hadn't been spun up correctly.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    68433b73
disk-io.c 70.3 KB