diff options
author | 2022-06-19 14:53:43 -0700 | |
---|---|---|
committer | 2022-06-26 14:43:28 -0700 | |
commit | 82af88063961da9425924d9aec3fb67a4ebade3e (patch) | |
tree | 566814c030fe76c37260ca12fb7f548343017cf5 /net/unix/sysctl_net_unix.c | |
parent | xfs: factor out the common lock flags assert (diff) | |
download | wireguard-linux-82af88063961da9425924d9aec3fb67a4ebade3e.tar.xz wireguard-linux-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 <kaixuxia@tencent.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions