]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: Fix check_refcount() error path
authorCarlos Maiolino <cmaiolino@redhat.com>
Thu, 1 Dec 2022 09:34:07 +0000 (10:34 +0100)
committerCarlos Maiolino <cem@kernel.org>
Fri, 9 Dec 2022 09:24:04 +0000 (10:24 +0100)
commitfbd9b2363565bea7ef1d0fbe6f77b620eb96b171
treed98451afa78e7e8315d2cc017a29e8b4be756b53
parent765809a0df333210a1d5b4f4103950b3af5d0eb3
xfs_repair: Fix check_refcount() error path

Add proper exit error paths to avoid checking all pointers at the current path

Fixes-coverity-id: 1512651

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
repair/rmap.c