ocfs2: Use generic helpers for quotaon and quotaoff
authorJan Kara <jack@suse.cz>
Wed, 8 Oct 2014 16:30:19 +0000 (18:30 +0200)
committerJan Kara <jack@suse.cz>
Fri, 30 Jan 2015 11:50:58 +0000 (12:50 +0100)
commit664dbd5fe5485ccb20dbec0081c1033308999220
tree86a7f7a9845003c0935c17c5196220bedfe69a6d
parent1fa5efe3622db58cb8c7b9a50665e9eb9a6c7e97
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: Jan Kara <jack@suse.cz>
fs/ocfs2/super.c
This page took 0.023704 seconds and 5 git commands to generate.