From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kara Subject: Re: [PATCH v3 13/39] fs: introduce a get_qsize() to inode_operations Date: Mon, 5 Oct 2015 10:01:27 +0200 Message-ID: <20151005080127.GC15529@quack.suse.cz> References: <1442307754-13233-1-git-send-email-yangds.fnst@cn.fujitsu.com> <1442307754-13233-14-git-send-email-yangds.fnst@cn.fujitsu.com> <20151004063357.GH28519@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Dongsheng Yang , viro@ZenIV.linux.org.uk, jack@suse.cz, dedekind1@gmail.com, richard.weinberger@gmail.com, linux-mtd@lists.infradead.org, linux-fsdevel@vger.kernel.org To: Christoph Hellwig Return-path: Received: from mx2.suse.de ([195.135.220.15]:37125 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750825AbbJEIBa (ORCPT ); Mon, 5 Oct 2015 04:01:30 -0400 Content-Disposition: inline In-Reply-To: <20151004063357.GH28519@infradead.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sat 03-10-15 23:33:57, Christoph Hellwig wrote: > On Tue, Sep 15, 2015 at 05:02:08PM +0800, Dongsheng Yang wrote: > > get_qsize() is used to allow inode to decide how much of the quota size > > in itself. If file system implements the own get_qsize(), ioctl of > > FIOQSIZe will call it to get quota size. If not implemented, get the > > quota size in a generic way. > > This should be in struct dquot_operations. This function won't be needed at all in the end as we talked with Yang... Honza -- Jan Kara SUSE Labs, CR