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)
committerChris Mason <clm@fb.com>
Fri, 2 Jan 2015 19:47:55 +0000 (14:47 -0500)
commitdf95e7f0d93e2fa776b168eac798a16a1e361022
tree4df7fcaeb07ab05c876e3d3a77ca6d55c3cc7a7d
parent6b6d24b38991f72fe974215c96e0fdfe409ea50e
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>
fs/btrfs/extent-tree.c