]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
common/rc: drop 'fsck -f' parameter from _repair_test_fs
authorDavid Disseldorp <ddiss@suse.de>
Wed, 16 Aug 2023 10:33:30 +0000 (12:33 +0200)
committerZorro Lang <zlang@kernel.org>
Fri, 18 Aug 2023 18:48:47 +0000 (02:48 +0800)
commit515adab889b9b0945b3b67de97cbb61cdb803783
treed42c2c5ac156720b036242d420683bba91f466de
parent9caf3ee07d0d0071e70f5bde28e6cd32bbc0e266
common/rc: drop 'fsck -f' parameter from _repair_test_fs

The '-f' parameter is fsck.ext# specific, where it's documented to:
  Force checking even if filesystem is marked clean

_repair_test_fs() is only called on _check_test_fs() failure, so
dropping the parameter should be possible without changing ext#
behaviour.
Doing so fixes _repair_test_fs() on exfat, where fsck.exfat doesn't
support '-f'.

Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc