Skip to content
Commit 9ea6e2b5 authored by David Sterba's avatar David Sterba
Browse files

btrfs: remove unnecessary mutex lock in qgroup_account_snapshot



The quota status used to be tracked as a variable, so the mutex was
needed (until "Btrfs: add a flags field to btrfs_fs_info" afcdd129).
Since the status is a bit modified atomically and we don't hold the
mutex beyond the check, we can drop it.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 81353d50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment