fstests.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yang Xu <xuyang2018.jy@fujitsu.com>
To: <fstests@vger.kernel.org>
Cc: Yang Xu <xuyang2018.jy@fujitsu.com>,
	Jinhui Huang <huangjh.jy@fujitsu.com>
Subject: [PATCH] xfs/145: Remove useless -f option for xfs_quota command
Date: Thu, 22 Apr 2021 13:05:43 +0800	[thread overview]
Message-ID: <1619067943-3859-1-git-send-email-xuyang2018.jy@fujitsu.com> (raw)

Since it is a xfs specifal case, we don't need to use foreign filesystem mode.

Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
Signed-off-by: Jinhui Huang <huangjh.jy@fujitsu.com>
---
 tests/xfs/145 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/xfs/145 b/tests/xfs/145
index 3b3c375d..3ccbb923 100755
--- a/tests/xfs/145
+++ b/tests/xfs/145
@@ -51,7 +51,7 @@ $FILEFRAG_PROG -v $SCRATCH_MNT/testy 2>&1 | grep -q delalloc || \
 rm -f $SCRATCH_MNT/testy
 
 echo "Run test program"
-$XFS_QUOTA_PROG -f -x -c 'report -ap' $SCRATCH_MNT >> $seqres.full
+$XFS_QUOTA_PROG -x -c 'report -ap' $SCRATCH_MNT >> $seqres.full
 $here/src/chprojid_fail $SCRATCH_MNT/blah
 
 # The regression we're testing for is an accounting bug involving delalloc
@@ -64,7 +64,7 @@ $FILEFRAG_PROG -v $SCRATCH_MNT/blah 2>&1 | grep -q delalloc || \
 	echo "file didn't get delalloc extents, test invalid?"
 
 # Make a note of current quota status for diagnostic purposes
-$XFS_QUOTA_PROG -f -x -c 'report -ap' $SCRATCH_MNT >> $seqres.full
+$XFS_QUOTA_PROG -x -c 'report -ap' $SCRATCH_MNT >> $seqres.full
 
 # success, all done
 status=0
-- 
2.23.0


             reply	other threads:[~2021-04-22  4:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22  5:05 Yang Xu [this message]
2021-04-23 11:13 ` [PATCH] xfs/145: Remove useless -f option for xfs_quota command Brian Foster
2021-04-25  2:10   ` xuyang2018.jy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1619067943-3859-1-git-send-email-xuyang2018.jy@fujitsu.com \
    --to=xuyang2018.jy@fujitsu.com \
    --cc=fstests@vger.kernel.org \
    --cc=huangjh.jy@fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).