diff options
author | Christoph Hellwig <hch@lst.de> | 2009-08-31 23:58:21 (GMT) |
---|---|---|
committer | Felix Blyakher <felixb@sgi.com> | 2009-09-01 17:45:39 (GMT) |
commit | 2187550525d7bcb8c87689e4eca41b1955bf9ac3 (patch) | |
tree | 1538be459d9d37a9daf537885e93a3cf20ee49c8 /kernel/audit.c | |
parent | 4254b0bbb1c0826b7443ffa593576696bc591aa2 (diff) | |
download | linux-fsl-qoriq-2187550525d7bcb8c87689e4eca41b1955bf9ac3.tar.xz |
xfs: rationalize xfs_inobt_lookup*
Currenly we have a xfs_inobt_lookup* variant for each comparism direction,
and all these get all three fields of the inobt records passed, while the
common case is just looking for the inode number and we have only marginally
more callers than xfs_inobt_lookup* variants.
So opencode a direct call to xfs_btree_lookup for the single case where we
need all fields, and replace xfs_inobt_lookup* with a xfs_inobt_looku that
just takes the inode number and the direction for all other callers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions