diff options
| author | Christoph Hellwig <[email protected]> | 2015-10-03 13:32:57 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2015-10-14 05:17:53 +0000 |
| commit | 13a83fc9096dfaf2a7f4671b5777780bbe1d4a30 (patch) | |
| tree | 2874119928c790fb2c1706a12cbc9ff305aa9644 /Documentation/filesystems/configfs/configfs_example_macros.c | |
| parent | netconsole: use per-attribute show and store methods (diff) | |
| download | kernel-13a83fc9096dfaf2a7f4671b5777780bbe1d4a30.tar.gz kernel-13a83fc9096dfaf2a7f4671b5777780bbe1d4a30.zip | |
ocfs2/cluster: move locking into attribute store methods
The test and separate set bit scheme was racy to start with, so move to do
a test_and_set_bit after doing the earlier error checks inside the actual
store methods. Also remove the locking for the local attribute which
already has a different scheme to synchronize.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'Documentation/filesystems/configfs/configfs_example_macros.c')
0 files changed, 0 insertions, 0 deletions
