From: Brian Foster Date: Thu, 24 Apr 2014 06:00:52 +0000 (+1000) Subject: xfs: update inode allocation/free transaction reservations for finobt X-Git-Tag: omap-for-v3.16/fixes-against-rc1~55^2~6^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d43b180af67cccd4bd1342f7f54f8131515b0a1;p=pandora-kernel.git xfs: update inode allocation/free transaction reservations for finobt Create the xfs_calc_finobt_res() helper to calculate the finobt log reservation for inode allocation and free. Update XFS_IALLOC_SPACE_RES() to reserve blocks for the additional finobt insertion on inode allocation. Create XFS_IFREE_SPACE_RES() to reserve blocks for the potential finobt record insertion on inode free (i.e., if an inode chunk was previously fully allocated). Signed-off-by: Brian Foster Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed