commit | 9ea6e2b54847a08da87c118e6a197f27eb9b0159 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Mon Feb 13 14:07:02 2017 +0100 |
committer | David Sterba <dsterba@suse.com> | Fri Feb 17 12:03:50 2017 +0100 |
tree | b61f91307e3a36f68523e058ce76e3e6964a2a7f | |
parent | 81353d50f5274e435105391b669e05aaf62c8609 [diff] |
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>