diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-10-04 22:57:07 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-08 12:33:45 +0200 |
| commit | 1e7337a3ecebab1bb2ba02187d88b94e5146e4f0 (patch) | |
| tree | e9a849d83d41eb765b18d11697fb931751705935 /tools/perf/scripts/python | |
| parent | e5bde75a816b3549942f4b09a8bf09006b7ea9de (diff) | |
| download | linux-1e7337a3ecebab1bb2ba02187d88b94e5146e4f0.tar.gz linux-1e7337a3ecebab1bb2ba02187d88b94e5146e4f0.zip | |
xfs: don't try to scrub self-referential dirent in metapath checker
LOLLM observes that the _ilock_both helper will loop forever trying to
double-lock the same inode if mpath->dp == sc->ip. Callers are not
supposed to call us with parent == child because that makes no sense.
Trigger an assertion, mark the scan incomplete, and return IO error
so that this fails noisily.
Cc: stable@vger.kernel.org # v6.13
Fixes: b3c03efa5972f0 ("xfs: check metadata directory file path connectivity")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Assisted-by: LOLLM # finding obvious bugs
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
