summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iomap.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-06-24 03:42:19 +0200
committerAlex Elder <aelder@sgi.com>2010-07-26 20:16:42 +0200
commit3070451eea1ed8e3bde0573183c7d8ac25fd5e97 (patch)
tree667aee111d96e885021e261647fe4ec3cdb1f08a /fs/xfs/xfs_iomap.h
parentxfs: avoid synchronous transaction in xfs_fs_write_inode (diff)
downloadlinux-3070451eea1ed8e3bde0573183c7d8ac25fd5e97.tar.xz
linux-3070451eea1ed8e3bde0573183c7d8ac25fd5e97.zip
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 <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_iomap.h')
0 files changed, 0 insertions, 0 deletions