_qmount_options didn't properly substitute usrjquota and grpjquota options. Fix the regular expression. Signed-off-by: Jan Kara <jack@xxxxxxx> --- 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