forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs: qgroup: replace modifing qgroup_flags to bitops
This patch replaces the code modifying or checking qgroup_flags to bitops like set_bit or test_bit. These bit operations works atomically that it protects qgroup_flags value. Signed-off-by: Sidong Yang <realwakka@gmail.com>
- Loading branch information
1 parent
26291c5
commit ba6f4f3
Showing
2 changed files
with
33 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters