common/quota: Fix _qmount_options
[xfstests-dev.git] / common / quota
index 6d1948bf357e29bc1a69ecae57bbc7a451bdf74d..4e07fef1569794ab29c301ed759ec8b41c3ef4d1 100644 (file)
@@ -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'       \