commit | c63fcbba174dc50873df4be0f453744ebf87b535 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Mon Mar 06 19:53:19 2023 -0800 |
committer | Darrick J. Wong <djwong@kernel.org> | Fri Jan 05 23:00:07 2024 -0800 |
tree | cc9c34d6234babd84eed12778b9d8f20da7f139a | |
parent | 504d3a2bdf191c13b0ce6cd24fecf4aeba4043de [diff] |
xfs: refactor repair forcing tests into a repair.c helper There are a couple of conditions that userspace can set to force repairs of metadata. These really belong in the repair code and not open-coded into the check code, so refactor them into a helper. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>