]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
fstests: use btrfs check repair for repairing btrfs filesystems
authorAnand Jain <anand.jain@oracle.com>
Mon, 21 Aug 2023 09:05:09 +0000 (17:05 +0800)
committerZorro Lang <zlang@kernel.org>
Sat, 16 Sep 2023 03:26:44 +0000 (11:26 +0800)
commit2da0d2692c94d656585c1d81dc9e043a1a0384f1
tree94e0637fba8558c18f9fa1965e7c33543fd847c6
parent2848174358e542de0ad18c42cd79f7208ae93711
fstests: use btrfs check repair for repairing btrfs filesystems

There are two repair functions: _repair_scratch_fs() and
_repair_test_fs(). As the names suggest, these functions are designed to
repair the filesystems SCRATCH_DEV and TEST_DEV, respectively. However,
these functions never called proper comamnd for the filesystem type btrfs.
This patch fixes it. Thx.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc