diff options
author | Pavel Reichl <[email protected]> | 2020-10-16 04:10:02 +0200 |
---|---|---|
committer | Jan Kara <[email protected]> | 2021-07-13 14:29:00 +0200 |
commit | e31cbde7ecdcfdf22eac6fd37e63548adacc4ede (patch) | |
tree | 7df8e1466f77d93e7ca592548a23b917a2297110 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 70f3bad8c3154ba5f241c03f9c0cd050887a119c (diff) |
xfs: Refactor xfs_isilocked()
Introduce a new __xfs_rwsem_islocked predicate to encapsulate checking
the state of a rw_semaphore, then refactor xfs_isilocked to use it.
Signed-off-by: Pavel Reichl <[email protected]>
Suggested-by: Dave Chinner <[email protected]>
Suggested-by: Eric Sandeen <[email protected]>
Suggested-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions