xfs: replace open-coded calls to xfs_logprint with helpers

Use the test/scratch xfs_logprint helpers.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2020-09-14 18:43:47 -07:00
committed by Eryu Guan
parent 6b6a24f76d
commit 0b9cecc146
+1 -1
View File
@@ -48,7 +48,7 @@ for i in 16 32 64 128 256; do
_scratch_xfs_db -x -c "logformat -c 3 -s $lsunit" | \
tee -a $seqres.full
# don't redirect error output so it causes test failure
$XFS_LOGPRINT_PROG $SCRATCH_DEV >> $seqres.full
_scratch_xfs_logprint >> $seqres.full
done
# success, all done