Searched hist:"82 af88063961da9425924d9aec3fb67a4ebade3e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/xfs/ |
H A D | xfs_inode.c | diff 82af88063961da9425924d9aec3fb67a4ebade3e Sun Jun 19 16:53:43 CDT 2022 Kaixu Xia <kaixuxia@tencent.com> 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>
|