diff options
author | Kaixu Xia <[email protected]> | 2022-06-19 14:53:42 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2022-06-26 14:43:28 -0700 |
commit | ca76a761ea2497a250988fd67f12fd93524e611e (patch) | |
tree | 144c983688248b41a6b6bfa10ca61e7f75e04e26 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 5e672cd69f0a534a445df4372141fd0d1d00901d (diff) |
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 <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions