btrfs-progs: fix check for btrfs in btrfs scan 11538/head
authorKarel Kočí <karel.koci@nic.cz>
Mon, 9 Mar 2020 14:29:16 +0000 (15:29 +0100)
committerKarel Kočí <karel.koci@nic.cz>
Mon, 9 Mar 2020 14:29:16 +0000 (15:29 +0100)
commit9b64ae0bad4515f3af2a9dc885d743e20d59d075
tree2b47764a1e417161a213813563ed90b5b319549d
parent2f5fce8209abcfa75dd586685bd6fef06ba372ac
btrfs-progs: fix check for btrfs in btrfs scan

The previous implementation always succeeded so no scan was performed.
This now fixes that and it correctly scans for BTRFS  devices if BTRFS
support is in kernel.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
utils/btrfs-progs/Makefile
utils/btrfs-progs/files/btrfs-scan.init