summaryrefslogtreecommitdiff
path: root/send-test.c
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard10@gmail.com>2014-12-23 11:34:52 -0800
committerDavid Sterba <dsterba@suse.cz>2014-12-29 17:13:58 +0100
commit7d83db5bae5420d7b1c7f4e64897c25bc9a94f09 (patch)
treefe0d4c62b19f641a94a8f07101868a5fb6c22012 /send-test.c
parent0f38766b8fe9d8c5c77a707fa1d24824df09d18a (diff)
btrfs-progs: Fix btrfs fi show by uuid and label
Commit 8be2fff (btrfs-progs: apply realpath for btrfs fi show when mount point is given) changed the behavior of btrfs fi show to return an error if the call to realpath() failed. This broke the ability to specify a filesystem by uuid or label. So let's not consider a failed call to realpath() as an error. If the user really specified a bad device, just return nothing like we did before. Signed-off-by: Justin Maggard <jmaggard10@gmail.com> Reviewed-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'send-test.c')
0 files changed, 0 insertions, 0 deletions