commit | bef3e4df53c3a6fdb09e5ebe660b2c3feaf36b34 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Tue Jan 09 09:38:03 2024 -0800 |
committer | Darrick J. Wong <djwong@kernel.org> | Sun Jan 21 15:06:48 2024 -0800 |
tree | 618f5c43aef983d8dd56d6db7040a72ee612605b | |
parent | 6a40e54bad91162deed282880f66dad39072bd0a [diff] |
xfs_mdrestore: refactor progress printing and sb fixup code Now that we've fixed the dissimilarities between the two progress printing callsites, refactor them into helpers. Do the same for the duplicate code that clears sb_inprogress from the primary superblock after the copy succeeds. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>