• J
    quota: Allow to separately enable quota accounting and enforcing limits · f55abc0f
    Jan Kara 提交于
    Split DQUOT_USR_ENABLED (and DQUOT_GRP_ENABLED) into DQUOT_USR_USAGE_ENABLED
    and DQUOT_USR_LIMITS_ENABLED. This way we are able to separately enable /
    disable whether we should:
    1) ignore quotas completely
    2) just keep uptodate information about usage
    3) actually enforce quota limits
    
    This is going to be useful when quota is treated as filesystem metadata - we
    then want to keep quota information uptodate all the time and just enable /
    disable limits enforcement.
    Signed-off-by: NJan Kara <jack@suse.cz>
    Signed-off-by: NMark Fasheh <mfasheh@suse.com>
    f55abc0f
quotaops.h 11.2 KB