]> git.hungrycats.org Git - linux/commit
Btrfs: abort transaction if we don't find the block group
authorJosef Bacik <jbacik@fb.com>
Fri, 12 Dec 2014 21:02:20 +0000 (16:02 -0500)
committerZygo Blaxell <zblaxell@serenity.furryterror.org>
Fri, 23 Jan 2015 13:22:12 +0000 (08:22 -0500)
commit4dd17486a94a4bda23bd08dad200b6583f7360f2
tree2d6221b50d4ba51bf2781318072a501b3bce7286
parente80bec2615befdb8e7d34ba9e84144eabf293aa6
Btrfs: abort transaction if we don't find the block group

We shouldn't BUG_ON() if there is corruption.  I hit this while testing my block
group patch and the abort worked properly.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
(cherry picked from commit df95e7f0d93e2fa776b168eac798a16a1e361022)
fs/btrfs/extent-tree.c