From: Jan Kara <jack@suse.cz>
To: <fstests@vger.kernel.org>
Cc: Jan Kara <jack@suse.cz>
Subject: [PATCH] common/quota: Fix _qmount_options
Date: Tue, 5 Nov 2019 14:43:20 +0100 [thread overview]
Message-ID: <20191105134320.26026-1-jack@suse.cz> (raw)
_qmount_options didn't properly substitute usrjquota and grpjquota
options. Fix the regular expression.
Signed-off-by: Jan Kara <jack@suse.cz>
---
common/quota | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/quota b/common/quota
index 6d1948bf357e..4e07fef15697 100644
--- a/common/quota
+++ b/common/quota
@@ -229,10 +229,10 @@ _qmount_option()
export MOUNT_OPTIONS=`echo $MOUNT_OPTIONS \
| sed -e 's/uquota/QUOTA/g' \
-e 's/usrquota/QUOTA/g' \
- -e 's/usrjquota=[^, ]/QUOTA/g' \
+ -e 's/usrjquota=[^, ]*/QUOTA/g' \
-e 's/gquota/QUOTA/g' \
-e 's/grpquota/QUOTA/g' \
- -e 's/grpjquota=[^, ]/QUOTA/g' \
+ -e 's/grpjquota=[^, ]*/QUOTA/g' \
-e 's/\bpquota/QUOTA/g' \
-e 's/prjquota/QUOTA/g' \
-e 's/quota/QUOTA/g' \
--
2.16.4
reply other threads:[~2019-11-05 13:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20191105134320.26026-1-jack@suse.cz \
--to=jack@suse.cz \
--cc=fstests@vger.kernel.org \
/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