Re: [PATCH 10/12] container quota: bill container inodes alloc/free on ext4.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/30/2012 06:59 PM, jeff.liu@xxxxxxxxxx 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

--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux