diff options
author | Darrick J. Wong <[email protected]> | 2021-05-12 16:41:13 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2021-05-20 08:31:22 -0700 |
commit | 16c9de54dc868c121918f2ae91e46330f919049f (patch) | |
tree | 643f1734146d65f904cf57797bfe27ea9f1b8937 /tools/testing | |
parent | 676a659b60afb13166371580f3f6f434e9ba6f21 (diff) |
xfs: fix deadlock retry tracepoint arguments
sc->ip is the inode that's being scrubbed, which means that it's not set
for scrub types that don't involve inodes. If one of those scrubbers
(e.g. inode btrees) returns EDEADLOCK, we'll trip over the null pointer.
Fix that by reporting either the file being examined or the file that
was used to call scrub.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions