]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
ext4/032: use _check_dev_fs
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Dec 2025 07:30:02 +0000 (08:30 +0100)
committerZorro Lang <zlang@kernel.org>
Wed, 31 Dec 2025 21:02:23 +0000 (05:02 +0800)
_check_dev_fs is the new designated helper to check file systems on
arbitrary devices, use that instead of _check_generic_filesystem, which
is just an implementation detail.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Anand Jain <asj@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/ext4/032

index 690fcf066c116a8c631a404a96d7c65ca6b8d311..043ae4f535053086890ef0336813df292f2a7860 100755 (executable)
@@ -66,7 +66,7 @@ ext4_online_resize()
        $UMOUNT_PROG ${IMG_MNT}
 
        echo "+++ check fs" | tee -a $seqres.full
-       _check_generic_filesystem $LOOP_DEVICE >> $seqres.full 2>&1 || \
+       _check_dev_fs $LOOP_DEVICE >> $seqres.full 2>&1 || \
                _fail "fsck should not fail"
        _destroy_loop_device $LOOP_DEVICE && LOOP_DEVICE=
 }