From: Christoph Hellwig Date: Thu, 24 Jun 2010 01:42:19 +0000 (+1000) Subject: xfs: reduce stack usage in xfs_iomap X-Git-Tag: v2.6.36-rc1~589^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3070451eea1ed8e3bde0573183c7d8ac25fd5e97;p=pandora-kernel.git xfs: reduce stack usage in xfs_iomap xfs_iomap passes a xfs_bmbt_irec pointer to xfs_iomap_write_direct and xfs_iomap_write_allocate to give them the results of our read-only xfs_bmapi query. Instead of allocating a new xfs_bmbt_irec on stack for the next call to xfs_bmapi re use the one we got passed as it's not used after this point. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner --- Reading git-diff-tree failed