diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2022-06-19 14:53:42 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-06-26 14:43:28 -0700 |
commit | ca76a761ea2497a250988fd67f12fd93524e611e (patch) | |
tree | 144c983688248b41a6b6bfa10ca61e7f75e04e26 /fs/xfs/libxfs/xfs_attr_leaf.c | |
parent | 5e672cd69f0a534a445df4372141fd0d1d00901d (diff) | |
download | linux-ca76a761ea2497a250988fd67f12fd93524e611e.tar.bz2 |
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_attr_leaf.c')
0 files changed, 0 insertions, 0 deletions