Skip to content
Commit 664dbd5f authored by Jan Kara's avatar Jan Kara
Browse files

ocfs2: Use generic helpers for quotaon and quotaoff



Ocfs2 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 ocfs2_quota_on() and that is
covered by dquot_quota_enable() checking whether usage tracking is
enabled (which can happen only if the filesystem has the quota feature
set).

Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 1fa5efe3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment