btrfs-progs: apply realpath for btrfs fi show when mount point is given
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 27 Nov 2014 02:01:35 +0000 (10:01 +0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 27 Nov 2014 17:37:00 +0000 (18:37 +0100)
commit8be2fff1295c39e11d5cf6a40517b0538620f7cb
treebb4d6adc0c4e781ff68896466d5fab6f23a8dedd
parent05afee34683f5a57fba0b2f55375bef592bb3987
btrfs-progs: apply realpath for btrfs fi show when mount point is given

For now,
# btrfs fi show /mnt/btrfs
gives info correctly, while
# btrfs fi show /mnt/btrfs/
gives nothing.

This implies that the @realpath() function should be applied to
unify the behavior.

Made a more clear comment right above the call as well.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-filesystem.c