On Fri, Jun 17, 2022 at 10:30:32AM +0800, xiakaixu1987@xxxxxxxxx wrote: > From: Kaixu Xia <kaixuxia@xxxxxxxxxxx> > > Hi, > > This patchset include some patches to factor out lock flags > and fix the mmap_lock state check. Funny that I didn't notice during review and nobody ever tripped debugging assertions. Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx> --D > Kaixu Xia (2): > xfs: factor out the common lock flags assert > xfs: use invalidate_lock to check the state of mmap_lock > > fs/xfs/xfs_inode.c | 64 ++++++++++++++++++---------------------------- > 1 file changed, 25 insertions(+), 39 deletions(-) > > -- > 2.27.0 >