]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: cleanup fs roots if we fail to mount
authorJosef Bacik <jbacik@fusionio.com>
Wed, 24 Apr 2013 20:35:41 +0000 (16:35 -0400)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:55:08 +0000 (15:55 -0400)
commit21beb5a42d2676d5216cc787830b5397ee087856
treeec2b1a84ecd88c5d49485b4d28c56cbab0036ef8
parent69bc01d9abfb75982f1fe3eefe88c7dc3146dbe7
Btrfs: cleanup fs roots if we fail to mount

We can run the tree logging recovery or the orphan cleanup on mount, so we'll
end up looking up a random fs tree in the meantime.  So we need to clean this up
so we don't leave extent buffers hanging around on the cache.  With this patch
we no longer leak extent buffers on failure to mount.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/disk-io.c