]> rtime.felk.cvut.cz Git - linux-imx.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)
commit68a7342c51c950428d90cd15da898c63d6c33267
tree2e20835693c16bf2cdf1bc468837e3fdad866e7e
parenta70c6172e714c70439b8321a201635f56a178913
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