Searched hist:ca76a761ea2497a250988fd67f12fd93524e611e (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/xfs/ |
H A D | xfs_inode.c | diff ca76a761ea2497a250988fd67f12fd93524e611e Sun Jun 19 16:53:42 CDT 2022 Kaixu Xia <kaixuxia@tencent.com> xfs: factor out the common lock flags assert
There are similar lock flags assert in xfs_ilock(), xfs_ilock_nowait(), xfs_iunlock(), thus we can factor it out into a helper that is clear.
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>
|