summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-05-12 16:56:24 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-05-25 18:49:50 -0700
commit7248e6e9cb33a2aeaa1efe3a48e2c023d948b524 (patch)
treecb4192f11f3d316bbe0acdef6098d0b16fa93441 /fs/read_write.c
parentc4681547bcce777daf576925a966ffa824edd09d (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 <djwong@kernel.org>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions