btrfs-progs: btrfs-select-super output is confusing when it fails
authorAnand Jain <anand.jain@oracle.com>
Fri, 5 Apr 2013 05:55:02 +0000 (13:55 +0800)
committerDavid Sterba <dsterba@suse.cz>
Tue, 23 Apr 2013 16:56:20 +0000 (18:56 +0200)
commit555ae67390d88e9b2abc91b53f4f6426d4b328df
tree109b380f3eae858575fd532ae712673399479b7a
parent4b3c9136be2b72fe4df33c5dfa7a33cf1bce9d8d
btrfs-progs: btrfs-select-super output is confusing when it fails

Trivial patch:
./btrfs-progs/btrfs-select-super -s 0 /dev/sdc
using SB copy 0, bytenr 65536
No valid Btrfs found on /dev/sdc
Open ctree failed

The line 'using..' is confusing which gives an
indication that command is successful

This patch will avoid that when command fails

Signed-off-by: Anand Jain <anand.jain@oracle.com>
btrfs-select-super.c