]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: remove verify_aginum
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 10 Jul 2020 19:35:45 +0000 (15:35 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 10 Jul 2020 19:35:45 +0000 (15:35 -0400)
commit04777511f8da4f0803a049c98ee76ba82d7d298f
tree9bbc2f02fd90f278777bae8baeba3bbab1f2f6dc
parenta6bd55d3fec95fe84802e9da0b1fc47de02bee20
xfs_repair: remove verify_aginum

Replace this homegrown inode pointer verification function with the
libxfs checking helper.  This one is a little tricky because this
function (unlike all of its verify_* siblings) returned 1 for bad and 0
for good, so we must invert the checking logic.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_api_defs.h
repair/dino_chunks.c
repair/dinode.c
repair/dinode.h
repair/scan.c