btrfs-progs: fix incorrect flag check while recovering super
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 2 May 2016 18:13:20 +0000 (11:13 -0700)
committerDavid Sterba <dsterba@suse.com>
Wed, 11 May 2016 14:37:07 +0000 (16:37 +0200)
commit5c5a6227721a779389af3e7eb67b63f15c638eb9
treeba4c1b84b0ba41bbff09dab963096eafa23cadf3
parent1e4abbdf96cae7cbf17a3bf1376d7a56e78153fa
btrfs-progs: fix incorrect flag check while recovering super

The flag OPEN_CTREE_RECOVER_SUPER is set when it's going to recover
any bad superblock copy, the current code doesn't match that.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
disk-io.c