From: Nathan Scott Date: Wed, 9 Jun 2004 11:33:52 +0000 (+0000) Subject: Fix uses of xfs_check with an external log, needs -l now. X-Git-Tag: v1.1.0~839 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1340ae0f9fe3bd21cd2e68f8db8b7d932f30a9d6;p=users%2Fhch%2Fxfstests-dev.git Fix uses of xfs_check with an external log, needs -l now. --- diff --git a/common.rc b/common.rc index 69e2b2e7d..30b719cb3 100644 --- a/common.rc +++ b/common.rc @@ -571,7 +571,7 @@ _check_filesystem() fi fi - /usr/sbin/xfs_logprint -t $device $extra_log_options 2>&1 \ + /usr/sbin/xfs_logprint -t $extra_log_options $device 2>&1 \ | tee $tmp.fs_check | grep -q "" if [ $? -ne 0 ] then @@ -585,7 +585,8 @@ _check_filesystem() ok=0 fi - /usr/sbin/xfs_check $testoption $device 2>&1 | _fix_malloc >$tmp.fs_check + /usr/sbin/xfs_check $testoption $extra_log_options $device 2>&1 | \ + _fix_malloc >$tmp.fs_check if [ -s $tmp.fs_check ] then echo "_check_fs: filesystem on $device is inconsistent (c) (see $seq.full)" @@ -600,7 +601,7 @@ _check_filesystem() # repair doesn't scale massively at this stage, optionally skip it for now [ "$USE_BIG_LOOPFS" = yes ] || \ - /sbin/xfs_repair -n $device $extra_log_options >$tmp.fs_check 2>&1 + /sbin/xfs_repair -n $extra_log_options $device >$tmp.fs_check 2>&1 if [ $? -ne 0 ] then echo "_check_fs: filesystem on $device is inconsistent (r) (see $seq.full)"