_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>
$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=
}