Btrfs-progs: move path modification to filters
authorLukas Czerner <lczerner@redhat.com>
Tue, 11 Dec 2012 14:24:58 +0000 (15:24 +0100)
committerDavid Sterba <dsterba@suse.cz>
Fri, 1 Feb 2013 15:55:03 +0000 (16:55 +0100)
commite599d6c5daede0a06e637e6293af1c9b3523c24c
tree2a3a350b505a39194d48be6021df772e390e80e1
parentefbb344a59cc136f895d795058032e3f9c88a751
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>
btrfs-list.c
btrfs-list.h
cmds-subvolume.c
man/btrfs.8.in