Re: [RESEND PATCH 0/2] xfs: random fixes for lock flags

Darrick J. Wong
2022-06-22T23:28:59Z

On Fri, Jun 17, 2022 at 10:30:32AM +0800, xiakaixu1987@gmail.com wrote:
> From: Kaixu Xia <kaixuxia@tencent.com>
>
> 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@kernel.org>

--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
>