diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-04-17 20:10:45 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-05-19 10:58:16 -0400 |
commit | 4a5224d7b167e5470ad34e5b1b6965a16f87854f (patch) | |
tree | e8bf743db2f294389e8bc1f36cd54179cbd63f1c /kernel/pm_qos_params.c | |
parent | 2d1ff3c75a4642062d314634290be6d8da4ffb03 (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 'kernel/pm_qos_params.c')
0 files changed, 0 insertions, 0 deletions