From: Brian Foster Date: Thu, 24 Apr 2014 06:00:53 +0000 (+1000) Subject: xfs: insert newly allocated inode chunks into the finobt X-Git-Tag: omap-for-v3.16/fixes-against-rc1~55^2~6^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aa0a756ec255cfc8b733fe0d8993c1758b1240c;p=pandora-kernel.git xfs: insert newly allocated inode chunks into the finobt A newly allocated inode chunk, by definition, has at least one free inode, so a record is always inserted into the finobt. Create the xfs_inobt_insert() helper from existing code to insert a record in an inobt based on the provided BTNUM. Update xfs_ialloc_ag_alloc() to invoke the helper for the existing XFS_BTNUM_INO tree and XFS_BTNUM_FINO tree, if enabled. Signed-off-by: Brian Foster Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed