diff options
author | Christoph Hellwig <hch@lst.de> | 2009-08-31 19:56:58 -0400 |
---|---|---|
committer | Felix Blyakher <felixb@sgi.com> | 2009-09-01 13:44:56 -0400 |
commit | 2e287a731e0607e0371dc6165b7dd3ebc67fa8e1 (patch) | |
tree | d51ee5e646aff15965cb483a0e4236cc140105cc /fs/xfs/xfs_ialloc.h | |
parent | 85c0b2ab5e69ca6133380ead1c50e0840d136b39 (diff) |
xfs: improve xfs_inobt_get_rec prototype
Most callers of xfs_inobt_get_rec need to fill a xfs_inobt_rec_incore_t, and
those who don't yet are fine with a xfs_inobt_rec_incore_t, instead of the
three individual variables, too. So just change xfs_inobt_get_rec to write
the output into a xfs_inobt_rec_incore_t directly.
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 'fs/xfs/xfs_ialloc.h')
-rw-r--r-- | fs/xfs/xfs_ialloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_ialloc.h b/fs/xfs/xfs_ialloc.h index aeee8278f92c..52e72fe7e411 100644 --- a/fs/xfs/xfs_ialloc.h +++ b/fs/xfs/xfs_ialloc.h | |||
@@ -166,7 +166,7 @@ int xfs_inobt_lookup_le(struct xfs_btree_cur *cur, xfs_agino_t ino, | |||
166 | /* | 166 | /* |
167 | * Get the data from the pointed-to record. | 167 | * Get the data from the pointed-to record. |
168 | */ | 168 | */ |
169 | extern int xfs_inobt_get_rec(struct xfs_btree_cur *cur, xfs_agino_t *ino, | 169 | extern int xfs_inobt_get_rec(struct xfs_btree_cur *cur, |
170 | __int32_t *fcnt, xfs_inofree_t *free, int *stat); | 170 | xfs_inobt_rec_incore_t *rec, int *stat); |
171 | 171 | ||
172 | #endif /* __XFS_IALLOC_H__ */ | 172 | #endif /* __XFS_IALLOC_H__ */ |