]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: factor phase transitions into a helper
authorDarrick J. Wong <djwong@kernel.org>
Wed, 24 Feb 2021 00:10:00 +0000 (19:10 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 24 Feb 2021 00:10:00 +0000 (19:10 -0500)
commit8e9f22d6e8f0207c45ec66da468ff5e9357ba260
treed991ab8dd77ec39d52960cf6b3cec0897e524821
parent704e4cef1093e0f1ef495727b702c67ca4282749
xfs_repair: factor phase transitions into a helper

Create a helper function to centralize all the stuff we do at the end of
a repair phase (which for now is limited to reporting progress).  The
next patch will add more interesting things to this helper.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
repair/xfs_repair.c