diff options
| author | Kaixu Xia <[email protected]> | 2022-06-19 21:53:43 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2022-06-26 21:43:28 +0000 |
| commit | 82af88063961da9425924d9aec3fb67a4ebade3e (patch) | |
| tree | 566814c030fe76c37260ca12fb7f548343017cf5 /scripts/clang-tools/gen_compile_commands.py | |
| parent | xfs: factor out the common lock flags assert (diff) | |
| download | kernel-82af88063961da9425924d9aec3fb67a4ebade3e.tar.gz kernel-82af88063961da9425924d9aec3fb67a4ebade3e.zip | |
xfs: use invalidate_lock to check the state of mmap_lock
We should use invalidate_lock and XFS_MMAPLOCK_SHARED to check the state
of mmap_lock rw_semaphore in xfs_isilocked(), rather than i_rwsem and
XFS_IOLOCK_SHARED.
Fixes: 2433480a7e1d ("xfs: Convert to use invalidate_lock")
Signed-off-by: Kaixu Xia <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
