aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_iomap.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-04-18 00:10:45 +0000
committerAlex Elder <aelder@sgi.com>2010-05-19 09:58:16 -0500
commit4a5224d7b167e5470ad34e5b1b6965a16f87854f (patch)
treee8bf743db2f294389e8bc1f36cd54179cbd63f1c /fs/xfs/xfs_iomap.c
parent2d1ff3c75a4642062d314634290be6d8da4ffb03 (diff)
xfs: simplify buffer to transaction matching
We currenly have a routine xfs_trans_buf_item_match_all which checks if any log item in a transaction contains a given buffer, and a second one that only does this check for the first, embedded chunk of log items. We only use the second routine if we know we only have that log item chunk, so get rid of the limited routine and always use the more complete one. Also rename the old xfs_trans_buf_item_match_all to xfs_trans_buf_item_match and update various surrounding comments, and move the remaining xfs_trans_buf_item_match on top of the file to avoid a forward prototype. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
0 files changed, 0 insertions, 0 deletions