]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: don't obliterate return codes
authorDarrick J. Wong <djwong@kernel.org>
Thu, 16 Jan 2025 21:22:03 +0000 (13:22 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 16 Jan 2025 21:27:27 +0000 (13:27 -0800)
commitc08fe89d4441bb95aaf6f6c1751a9537ee00173b
tree32f45fc8f534ba2d10a7448f463f8001730a14fb
parent741eb9b6f9a88aee5103600e32b01207545c7af0
xfs_repair: don't obliterate return codes

Don't clobber error here, it's err2 that's the temporary variable.

Coverity-id: 1637363
Fixes: b790ab2a303d58 ("xfs_repair: support quota inodes in the metadata directory")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
repair/quotacheck.c