From f99695e4da597f4f12cd1e1f70b53cc723f522fe Mon Sep 17 00:00:00 2001 From: Xiao Yang Date: Mon, 4 Jun 2018 12:50:12 +0800 Subject: [PATCH] common/rc: Fix _require_xfs_io_command for scrub probe Currently, xfs_io scrub command doesn't allow the probe function to have any parameter, so we remove the invalid parameter. Signed-off-by: Xiao Yang Reviewed-by: Darrick J. Wong Signed-off-by: Eryu Guan --- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rc b/common/rc index ab5dba25..a4364972 100644 --- a/common/rc +++ b/common/rc @@ -2154,7 +2154,7 @@ _require_xfs_io_command() param_checked=1 ;; "scrub"|"repair") - testio=`$XFS_IO_PROG -x -c "$command probe 0" $TEST_DIR 2>&1` + testio=`$XFS_IO_PROG -x -c "$command probe" $TEST_DIR 2>&1` echo $testio | grep -q "Inappropriate ioctl" && \ _notrun "xfs_io $command support is missing" ;; -- 2.39.5