Re: [Ocfs2-devel] [PATCH 03/17] quota: Add ->quota_{enable, disable} callbacks for VFS quotas

2015-01-20 Thread Jan Kara
On Mon 19-01-15 01:02:48, Christoph Hellwig wrote: > On Fri, Jan 16, 2015 at 01:47:37PM +0100, Jan Kara wrote: > > +EXPORT_SYMBOL(dquot_quota_enable); > > > +EXPORT_SYMBOL(dquot_quota_disable); > > I can't find any modular users of this (in fact none outside this > file), so I'd suggest to keep t

Re: [Ocfs2-devel] [PATCH 03/17] quota: Add ->quota_{enable, disable} callbacks for VFS quotas

2015-01-19 Thread Christoph Hellwig
On Fri, Jan 16, 2015 at 01:47:37PM +0100, Jan Kara wrote: > +EXPORT_SYMBOL(dquot_quota_enable); > +EXPORT_SYMBOL(dquot_quota_disable); I can't find any modular users of this (in fact none outside this file), so I'd suggest to keep these local. ___ Ocf

[Ocfs2-devel] [PATCH 03/17] quota: Add ->quota_{enable, disable} callbacks for VFS quotas

2015-01-16 Thread Jan Kara
Add functions which translate ->quota_enable / ->quota_disable calls into appropriate changes in VFS quota. This will enable filesystems supporting VFS quota files in system inodes to be controlled via Q_XQUOTA[ON|OFF] quotactls for better userspace compatibility. Also provide a vector for quotact