diff options
author | Lukas Czerner <lczerner@redhat.com> | 2012-12-11 15:24:58 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-02-01 16:55:03 +0100 |
commit | e599d6c5daede0a06e637e6293af1c9b3523c24c (patch) | |
tree | 2a3a350b505a39194d48be6021df772e390e80e1 /btrfs-list.h | |
parent | efbb344a59cc136f895d795058032e3f9c88a751 (diff) |
Btrfs-progs: move path modification to filters
Commit 8e8e019e910f20947fea7eff5da40753639d8870 introduces -a option
which will list all subvolumes with distinguishing between relative and
absolute by prepending absolute patch with "<FS_TREE>".
This commit moves the path modification to a filter code rather than
doing so in path construction in resolve_root(). This gives us more
flexibility in formatting path output.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Diffstat (limited to 'btrfs-list.h')
-rw-r--r-- | btrfs-list.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/btrfs-list.h b/btrfs-list.h index cde4b3cc..f7fbea6d 100644 --- a/btrfs-list.h +++ b/btrfs-list.h @@ -71,6 +71,7 @@ enum btrfs_list_filter_enum { BTRFS_LIST_FILTER_CGEN_LESS, BTRFS_LIST_FILTER_CGEN_MORE, BTRFS_LIST_FILTER_TOPID_EQUAL, + BTRFS_LIST_FILTER_FULL_PATH, BTRFS_LIST_FILTER_MAX, }; |