btrfs-progs: add filter for deleted but uncleanded subvolumes
authorDavid Sterba <dsterba@suse.cz>
Wed, 23 Oct 2013 17:00:09 +0000 (19:00 +0200)
committerChris Mason <chris.mason@fusionio.com>
Thu, 24 Oct 2013 09:57:44 +0000 (05:57 -0400)
commit4fc17596aaa2b03ee38c467585465923d62b1510
tree46453ce5137b7e87370006229d4d46ceb1f3e1fb
parentb91d84abc0df2195aaa06a79b565d8852b3099b2
btrfs-progs: add filter for deleted but uncleanded subvolumes

New option to subvolume list that acts as a global filter and applies
the other filters to either live subvolumes or the uncleaned ones.

The path to the deleted subvolumes is lost at the deletion time, sample
output looks like:

ID 259 gen 7 top level 0 path <FS_TREE>/DELETED

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
btrfs-list.c
btrfs-list.h
cmds-subvolume.c