]> 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)
commit89892f09f8050c2b5e50b35223fe0891a1f56c56
tree2e20835693c16bf2cdf1bc468837e3fdad866e7e
parenteb66045b4f5888fd3ad3f47e54331d672ea3c807
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