mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common/quota: Fix _qmount_options for ext4 journalled quotas
_qmount_options didn't properly replace ext[34] journalled quotas mount options. As such the mount option string got garbled and the test (e.g. generic/379) failed. Signed-off-by: Jan Kara <jack@suse.cz> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
@@ -229,8 +229,10 @@ _qmount_option()
|
|||||||
export MOUNT_OPTIONS=`echo $MOUNT_OPTIONS \
|
export MOUNT_OPTIONS=`echo $MOUNT_OPTIONS \
|
||||||
| sed -e 's/uquota/QUOTA/g' \
|
| sed -e 's/uquota/QUOTA/g' \
|
||||||
-e 's/usrquota/QUOTA/g' \
|
-e 's/usrquota/QUOTA/g' \
|
||||||
|
-e 's/usrjquota=[^, ]/QUOTA/g' \
|
||||||
-e 's/gquota/QUOTA/g' \
|
-e 's/gquota/QUOTA/g' \
|
||||||
-e 's/grpquota/QUOTA/g' \
|
-e 's/grpquota/QUOTA/g' \
|
||||||
|
-e 's/grpjquota=[^, ]/QUOTA/g' \
|
||||||
-e 's/\bpquota/QUOTA/g' \
|
-e 's/\bpquota/QUOTA/g' \
|
||||||
-e 's/prjquota/QUOTA/g' \
|
-e 's/prjquota/QUOTA/g' \
|
||||||
-e 's/quota/QUOTA/g' \
|
-e 's/quota/QUOTA/g' \
|
||||||
|
|||||||
Reference in New Issue
Block a user