diff options
author | Christoph Hellwig <hch@lst.de> | 2015-10-03 15:32:57 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-10-13 22:17:53 -0700 |
commit | 13a83fc9096dfaf2a7f4671b5777780bbe1d4a30 (patch) | |
tree | 2874119928c790fb2c1706a12cbc9ff305aa9644 /fs/ocfs2/mmap.c | |
parent | ea9ed9cff47e7932925982c8fdaf2d4d1708884f (diff) | |
download | linux-13a83fc9096dfaf2a7f4671b5777780bbe1d4a30.tar.bz2 |
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 <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'fs/ocfs2/mmap.c')
0 files changed, 0 insertions, 0 deletions