]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: cleanup orphaned root orphan item
authorJosef Bacik <jbacik@fusionio.com>
Thu, 27 Jun 2013 15:32:16 +0000 (11:32 -0400)
committerJosef Bacik <jbacik@fusionio.com>
Tue, 2 Jul 2013 15:50:52 +0000 (11:50 -0400)
commit2520b5cad3400138fee9b9c4b0d95855cf03ba8b
tree2e20835693c16bf2cdf1bc468837e3fdad866e7e
parent9e1dc2d666c4cbd99c1c25b4f572efbf757c4944
Btrfs: cleanup orphaned root orphan item

I hit a weird problem were my root item had been deleted but the orphan item had
not.  This isn't necessarily a problem, but it keeps the file system from being
mounted.  To fix this we just need to axe the orphan item if we can't find the
fs root when we're putting them altogether.  With this patch I was able to
successfully mount my file system.  Thanks,

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