]> git.baikalelectronics.ru Git - kernel.git/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)
committerChris Mason <clm@fb.com>
Fri, 2 Jan 2015 19:47:55 +0000 (14:47 -0500)
commit25d9eb3c44fe59a5d7a33b60b5380974c8cad29a
tree4df7fcaeb07ab05c876e3d3a77ca6d55c3cc7a7d
parentb47fecbeee477edd1fcb1762136a5d35bc57c8c1
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