]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_repair: refactor generate_rtinfo
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Nov 2024 00:24:22 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:28 +0000 (18:01 -0800)
commit3c5ff15d106fa771bcbbbb7917310f5b9e082cc2
tree42722f766785296f61bfaf5a9a351317f8a22216
parent089c1e7d5b692785cebcb5f88d850b052d8f7047
xfs_repair: refactor generate_rtinfo

Move the allocation of the computed values into generate_rtinfo, and thus
make the variables holding them private in rt.c, and clean up a few
formatting nits.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
[djwong: move functions to fix build errors]
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
repair/globals.c
repair/globals.h
repair/phase5.c
repair/phase6.c
repair/rt.c
repair/rt.h