diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-10-12 23:07:48 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-14 10:08:06 +0200 |
| commit | 4ce244b234c251963fca6dff9de6edf26a209d08 (patch) | |
| tree | 5df79dad6f12bfbfe6f3cb87c85dc22fbfc87ed2 /tools/perf/scripts/python | |
| parent | eb20a959760c21e3547cd811d0d9b0b29df98959 (diff) | |
| download | linux-4ce244b234c251963fca6dff9de6edf26a209d08.tar.gz linux-4ce244b234c251963fca6dff9de6edf26a209d08.zip | |
xfs: opportunistically skip btree block checks
LOLLM notices that both callers of xchk_btree_get_block will return
early if *pblock is NULL after a successful return. However,
xchk_btree_get_block itself can return 0 after flagging a corruption.
There's no point in continuing after we've found a corruption, so null
the pointer out.
Cc: stable@vger.kernel.org # v4.15
Fixes: cc3e0948d2686f ("xfs: scrub the shape of a metadata btree")
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
