From: Glauber Costa Subject: Re: [PATCH 10/12] container quota: bill container inodes alloc/free on ext4. Date: Thu, 31 May 2012 13:15:25 +0400 Message-ID: <4FC736AD.2070404@parallels.com> References: <1338389946-13711-1-git-send-email-jeff.liu@oracle.com> <1338389946-13711-11-git-send-email-jeff.liu@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: , , , , , , , , , , , , , To: Return-path: In-Reply-To: <1338389946-13711-11-git-send-email-jeff.liu-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-ext4.vger.kernel.org On 05/30/2012 06:59 PM, jeff.liu-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org wrote: > +#include "../ns_quotaops.h" > + > /* > * ialloc.c contains the inodes allocation and deallocation routines > */ > @@ -233,6 +235,7 @@ void ext4_free_inode(handle_t *handle, struct inode *inode) > dquot_initialize(inode); > ext4_xattr_delete_inode(handle, inode); > dquot_free_inode(inode); > + ns_dquot_free_inode(inode); > dquot_drop(inode); This should be inside dquot_free_inode(). No need to go patch inode.c