xfs: test that the needsrepair feature works as advertised
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Apr 2021 00:49:13 +0000 (17:49 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 25 Apr 2021 05:41:18 +0000 (13:41 +0800)
commitaf7ac9448fd681d54c3acfa7febcaf44b0be323f
tree6ef06c71385186bb4fcd974905998a73d5c5cdf4
parentbec48842284ea28843ae45f17fcd8c54df878d81
xfs: test that the needsrepair feature works as advertised

Make sure that the needsrepair feature flag can be cleared only by
repair and that mounts are prohibited when the feature is set.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/xfs
tests/xfs/154 [new file with mode: 0755]
tests/xfs/154.out [new file with mode: 0644]
tests/xfs/155 [new file with mode: 0755]
tests/xfs/155.out [new file with mode: 0644]
tests/xfs/group