diff options
author | 2022-06-19 14:53:42 -0700 | |
---|---|---|
committer | 2022-06-26 14:43:28 -0700 | |
commit | ca76a761ea2497a250988fd67f12fd93524e611e (patch) | |
tree | 144c983688248b41a6b6bfa10ca61e7f75e04e26 /net/unix/sysctl_net_unix.c | |
parent | xfs: introduce xfs_inodegc_push() (diff) | |
download | wireguard-linux-ca76a761ea2497a250988fd67f12fd93524e611e.tar.xz wireguard-linux-ca76a761ea2497a250988fd67f12fd93524e611e.zip |
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions