]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: return EIO if we have extent tree corruption
authorJosef Bacik <jbacik@fusionio.com>
Fri, 8 Mar 2013 20:41:02 +0000 (15:41 -0500)
committerChris Mason <chris.mason@fusionio.com>
Thu, 14 Mar 2013 18:57:29 +0000 (14:57 -0400)
commit21c6c3d89128ce18731f7e351da8e000eb55bb22
tree1aacf5abaf22d0a591b4cb39e494c95694fb589c
parent2edee66f50ad12940ecdf13d0930c9f9fe54b842
Btrfs: return EIO if we have extent tree corruption

The callers of lookup_inline_extent_info all handle getting an error back
properly, so return an error if we have corruption instead of being a jerk and
panicing.  Still WARN_ON() since this is kind of crucial and I've been seeing it
a bit too much recently for my taste, I think we're doing something wrong
somewhere.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/extent-tree.c