]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: abort the transaction when we don't find our extent ref
authorJosef Bacik <jbacik@fb.com>
Fri, 14 Mar 2014 20:36:53 +0000 (16:36 -0400)
committerChris Mason <clm@fb.com>
Mon, 7 Apr 2014 16:08:51 +0000 (09:08 -0700)
commita535f3726a036c32ce46d6019c88bdd744b486c4
tree0cea5b1492c94f549ad265ab121e18661043d340
parentd7efa349ef01cf55ee34d02a9e50853e5d2ffa50
Btrfs: abort the transaction when we don't find our extent ref

I'm not sure why we weren't aborting here in the first place, it is obviously a
bad time from the fact that we print the leaf and yell loudly about it.  Fix
this up, otherwise we panic because our path could be pointing into oblivion.
Thanks,

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