Re: [PATCH 07/11] ext4: Use generic helpers for quotaon and quotaoff
From: Christoph Hellwig <hch@infradead.org>
Date: 2014-11-13 17:36:00
Also in:
linux-fsdevel, linux-xfs
From: Christoph Hellwig <hch@infradead.org>
Date: 2014-11-13 17:36:00
Also in:
linux-fsdevel, linux-xfs
static const struct quotactl_ops ext4_qctl_sysfile_operations = {
- .quota_on_meta = ext4_quota_on_sysfile,
- .quota_off = ext4_quota_off_sysfile,
+ .sysquota_on = dquot_sysquota_on,
+ .sysquota_off = dquot_sysquota_off,
.quota_sync = dquot_quota_sync,
.get_info = dquot_get_dqinfo,
.set_info = dquot_set_dqinfo,This vector now only has generic dquot_ methods. Maybe move the vector to fs/quota/dquot.c and allow multiple filesystems to share it?