• J
    ext4: Use generic helpers for quotaon and quotaoff · 1fa5efe3
    Jan Kara 提交于
    Ext4 can just use the generic helpers provided by quota code for turning
    quotas on and off when quota files are stored as system inodes. The only
    difference is the feature test in ext4_quota_on_sysfile() but the same
    is achieved in dquot_quota_enable() by checking whether usage tracking
    for the corresponding quota type is enabled (which can happen only if
    quota feature is set).
    Reviewed-by: NChristoph Hellwig <hch@lst.de>
    Signed-off-by: NJan Kara <jack@suse.cz>
    1fa5efe3
super.c 158.5 KB