summaryrefslogtreecommitdiffstats
path: root/fs/ext4/mmp.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-10-08 18:26:54 +0200
committerJan Kara <jack@suse.cz>2015-01-30 12:50:42 +0100
commit1fa5efe3622db58cb8c7b9a50665e9eb9a6c7e97 (patch)
tree0179b1ce0beb1f34ecabcd028c810e9dba2b4cd5 /fs/ext4/mmp.c
parentquota: Add ->quota_{enable,disable} callbacks for VFS quotas (diff)
downloadlinux-1fa5efe3622db58cb8c7b9a50665e9eb9a6c7e97.tar.xz
linux-1fa5efe3622db58cb8c7b9a50665e9eb9a6c7e97.zip
ext4: Use generic helpers for quotaon and quotaoff
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: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext4/mmp.c')
0 files changed, 0 insertions, 0 deletions