Commit 98a778b4 authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

xfs: fix error bailout in xrep_abt_build_new_trees



Dan Carpenter reports:

"Commit 4bdfd7d1 ("xfs: repair free space btrees") from Dec 15,
2023 (linux-next), leads to the following Smatch static checker
warning:

        fs/xfs/scrub/alloc_repair.c:781 xrep_abt_build_new_trees()
        warn: missing unwind goto?"

That's a bug, so let's fix it.

Reported-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Fixes: 4bdfd7d1 ("xfs: repair free space btrees")
Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
parent 21ad2d03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment