]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/xfs/xfs_btree.h
[XFS] add get_maxrecs btree operation
authorChristoph Hellwig <hch@infradead.org>
Thu, 30 Oct 2008 05:55:23 +0000 (16:55 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 05:55:23 +0000 (16:55 +1100)
commitce5e42db421a41b1ad0cfd68c6058566b963e14b
tree7723f47e468c6b933a89361462c04436fe617cda
parent8c4ed633e65d0bd0a25d45aad9b4646e3236cad7
[XFS] add get_maxrecs btree operation

Factor xfs_btree_maxrecs into a per-btree operation.

The get_maxrecs method is based on a patch from Dave Chinner.

SGI-PV: 985583

SGI-Modid: xfs-linux-melb:xfs-kern:32188a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Bill O'Donnell <billodo@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
fs/xfs/xfs_alloc_btree.c
fs/xfs/xfs_bmap_btree.c
fs/xfs/xfs_btree.c
fs/xfs/xfs_btree.h
fs/xfs/xfs_ialloc_btree.c