summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_attr_item.c
diff options
context:
space:
mode:
authorKaixu Xia <kaixuxia@tencent.com>2022-06-20 00:53:43 +0300
committerDarrick J. Wong <djwong@kernel.org>2022-06-27 00:43:28 +0300
commit82af88063961da9425924d9aec3fb67a4ebade3e (patch)
tree566814c030fe76c37260ca12fb7f548343017cf5 /fs/xfs/xfs_attr_item.c
parentca76a761ea2497a250988fd67f12fd93524e611e (diff)
downloadlinux-82af88063961da9425924d9aec3fb67a4ebade3e.tar.xz
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/xfs_attr_item.c')
0 files changed, 0 insertions, 0 deletions