libbtrfsutil: don't return free space cache inodes from deleted_subvolumes()
authorOmar Sandoval <osandov@fb.com>
Thu, 29 Mar 2018 07:53:53 +0000 (00:53 -0700)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 20:52:29 +0000 (22:52 +0200)
Deleted free space cache inodes also get an orphan item in the root
tree, but we shouldn't report those as deleted subvolumes. Deleted
subvolumes will still have the root item, so we can just do an extra
tree search.

Reported-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>

No differences found