btrfs: Fix error messages in qgroup_rescan_init
authorNikolay Borisov <nborisov@suse.com>
Mon, 18 Nov 2019 12:16:44 +0000 (14:16 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 13 Dec 2019 12:29:12 +0000 (13:29 +0100)
commit37d02592f11bb76e4ab1dcaa5b8a2a0715403207
tree151fc412b7a34a43d8a0f5c7dc097d6ae8d470f9
parentfa17ed069c61286b26382e23b57a62930657b9c1
btrfs: Fix error messages in qgroup_rescan_init

The branch of qgroup_rescan_init which is executed from the mount
path prints wrong errors messages. The textual print out in case
BTRFS_QGROUP_STATUS_FLAG_RESCAN/BTRFS_QGROUP_STATUS_FLAG_ON are not
set are transposed. Fix it by exchanging their place.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/qgroup.c