]> 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)
commit60cbaf866c5efbda72e99cb5f3ec958152bf4bbf
treeec2b1a84ecd88c5d49485b4d28c56cbab0036ef8
parent457fcf8e84e87564265634801f7d10cfaae9f3bc
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