summaryrefslogtreecommitdiff
path: root/fs/btrfs/struct-funcs.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2010-12-13 22:47:58 +0300
committerChris Mason <chris.mason@oracle.com>2010-12-13 22:47:58 +0300
commit68433b73b104bff388aac376631d32abbbd872b0 (patch)
treeb08c8c07f2f77e3d840b316a66a47af1210ab349 /fs/btrfs/struct-funcs.c
parent3dd1462e82bcab7625cec129952f26dae7a8b742 (diff)
downloadlinux-68433b73b104bff388aac376631d32abbbd872b0.tar.xz
Btrfs: EIO when we fail to read tree roots
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: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/struct-funcs.c')
0 files changed, 0 insertions, 0 deletions