btrfs: qgroup: Remove the unnecesaary spin lock for qgroup_rescan_running
authorQu Wenruo <wqu@suse.com>
Fri, 7 Feb 2020 05:38:21 +0000 (13:38 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:47 +0000 (17:01 +0100)
commitdaf475c9154bb89a7c219e15386eebad8e1142d3
treeefe0d6bef91763ce1661d8e1b554370adfc3e431
parentd61acbbf54c612ea9bf67eed609494cda0857b3a
btrfs: qgroup: Remove the unnecesaary spin lock for qgroup_rescan_running

After the previous patch, qgroup_rescan_running is protected by
btrfs_fs_info::qgroup_rescan_lock, thus no need for the extra spinlock.

Suggested-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/qgroup.c