diff options
| author | Darrick J. Wong <[email protected]> | 2023-08-10 14:48:08 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2023-08-10 14:48:08 +0000 |
| commit | 294012fb070e33fb4a0aace7ac8d26357b705cf4 (patch) | |
| tree | 9f7238f717a67b2968c5f561563754b3dae61754 /tools/perf/scripts/python/syscall-counts.py | |
| parent | xfs: get our own reference to inodes that we want to scrub (diff) | |
| download | kernel-294012fb070e33fb4a0aace7ac8d26357b705cf4.tar.gz kernel-294012fb070e33fb4a0aace7ac8d26357b705cf4.zip | |
xfs: wrap ilock/iunlock operations on sc->ip
Scrub tracks the resources that it's holding onto in the xfs_scrub
structure. This includes the inode being checked (if applicable) and
the inode lock state of that inode. Replace the open-coded structure
manipulation with a trivial helper to eliminate sources of error.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
