]> www.infradead.org Git - users/hch/xfsprogs.git/commit
repair: factor out a xfs_rootrec_inodes_inuse helper
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Jul 2024 12:21:43 +0000 (14:21 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 30 Jul 2024 01:07:30 +0000 (18:07 -0700)
commitd343adda47305bb77a60f2ffe1c8738ca887aeb4
tree16df1b6cb75f46ee6ccdd97eb2896f11e6c36b50
parent20334bb41b4ad4b100cfa701c3163da6176ef9f4
repair: factor out a xfs_rootrec_inodes_inuse helper

Ensure only one place needs to be found and modified when changing the
number of "static" sb rooted inodes, saving copious debug time when
doing so.

Signed-off-by: Christoph Hellwig <hch@lst.de>
repair/incore.h
repair/phase2.c
repair/phase5.c