diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2022-06-19 14:53:43 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-06-26 14:43:28 -0700 |
commit | 82af88063961da9425924d9aec3fb67a4ebade3e (patch) | |
tree | 566814c030fe76c37260ca12fb7f548343017cf5 /fs/xfs/libxfs/xfs_attr_leaf.c | |
parent | ca76a761ea2497a250988fd67f12fd93524e611e (diff) | |
download | linux-82af88063961da9425924d9aec3fb67a4ebade3e.tar.bz2 |
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 'fs/xfs/libxfs/xfs_attr_leaf.c')
0 files changed, 0 insertions, 0 deletions