ext4: enable quota enforcement based on mount options
authorJan Kara <jack@suse.cz>
Tue, 6 Sep 2016 03:08:16 +0000 (23:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 6 Sep 2016 03:08:16 +0000 (23:08 -0400)
commitcb387b4f6cef3c723f26820f4d8a41c9252c9e85
treee4389c240b9e8168ddc7cd0eb5de3015ca005421
parentd343ed7b8ed03c8021fb65d8c37c6479cba714b6
ext4: enable quota enforcement based on mount options

When quota information is stored in quota files, we enable only quota
accounting on mount and enforcement is enabled only in response to
Q_QUOTAON quotactl. To make ext4 behavior consistent with XFS, we add a
possibility to enable quota enforcement on mount by specifying
corresponding quota mount option (usrquota, grpquota, prjquota).

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/super.c
This page took 0.024537 seconds and 5 git commands to generate.