]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/rc: fix unknown _xfs_repair_test_fs function name
authorZorro Lang <zlang@kernel.org>
Sun, 24 Mar 2024 14:17:07 +0000 (22:17 +0800)
committerZorro Lang <zlang@kernel.org>
Wed, 27 Mar 2024 14:05:18 +0000 (22:05 +0800)
commitf8fbdbe233090b999a7c1e4f2e2a89d47194b719
tree6692c0d0831d7f91de20e97e95fdb53081ce3d28
parent805eeea406a7cd78ab76f91cb061bce7e9a3e83c
common/rc: fix unknown _xfs_repair_test_fs function name

Sometimes I hit below errors:
  ./common/rc: line 1293: _xfs_repair_test_fs: command not found
  ./common/rc: line 1298: _xfs_repair_test_fs: command not found

The _repair_test_fs trys to call _xfs_repair_test_fs(), but there's
not that function in fstests. According to commit c7d81cdecbef,
it brought in _test_xfs_repair, but called wrong name. So fix it.

Fixes: c7d81cdecbef ("check: try to fix the test device if it gets corrupted")
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc