diff options
author | David Sterba <dsterba@suse.com> | 2017-02-13 14:07:02 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-17 12:03:50 +0100 |
commit | 9ea6e2b54847a08da87c118e6a197f27eb9b0159 (patch) | |
tree | b61f91307e3a36f68523e058ce76e3e6964a2a7f /fs/btrfs/qgroup.c | |
parent | 81353d50f5274e435105391b669e05aaf62c8609 (diff) | |
download | lwn-9ea6e2b54847a08da87c118e6a197f27eb9b0159.tar.gz lwn-9ea6e2b54847a08da87c118e6a197f27eb9b0159.zip |
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" afcdd129e05a9).
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: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/qgroup.c')
0 files changed, 0 insertions, 0 deletions