diff options
Diffstat (limited to 'fs/xfs/xfs_alloc_btree.h')
-rw-r--r-- | fs/xfs/xfs_alloc_btree.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/xfs/xfs_alloc_btree.h b/fs/xfs/xfs_alloc_btree.h index 22f1d709af7b..ff1f71d069c4 100644 --- a/fs/xfs/xfs_alloc_btree.h +++ b/fs/xfs/xfs_alloc_btree.h | |||
@@ -56,12 +56,6 @@ typedef struct xfs_btree_sblock xfs_alloc_block_t; | |||
56 | #define XFS_BUF_TO_ALLOC_BLOCK(bp) ((xfs_alloc_block_t *)XFS_BUF_PTR(bp)) | 56 | #define XFS_BUF_TO_ALLOC_BLOCK(bp) ((xfs_alloc_block_t *)XFS_BUF_PTR(bp)) |
57 | 57 | ||
58 | /* | 58 | /* |
59 | * Real block structures have a size equal to the disk block size. | ||
60 | */ | ||
61 | #define XFS_ALLOC_BLOCK_MAXRECS(lev,cur) ((cur)->bc_mp->m_alloc_mxr[lev != 0]) | ||
62 | #define XFS_ALLOC_BLOCK_MINRECS(lev,cur) ((cur)->bc_mp->m_alloc_mnr[lev != 0]) | ||
63 | |||
64 | /* | ||
65 | * Minimum and maximum blocksize and sectorsize. | 59 | * Minimum and maximum blocksize and sectorsize. |
66 | * The blocksize upper limit is pretty much arbitrary. | 60 | * The blocksize upper limit is pretty much arbitrary. |
67 | * The sectorsize upper limit is due to sizeof(sb_sectsize). | 61 | * The sectorsize upper limit is due to sizeof(sb_sectsize). |
@@ -98,5 +92,6 @@ typedef struct xfs_btree_sblock xfs_alloc_block_t; | |||
98 | extern struct xfs_btree_cur *xfs_allocbt_init_cursor(struct xfs_mount *, | 92 | extern struct xfs_btree_cur *xfs_allocbt_init_cursor(struct xfs_mount *, |
99 | struct xfs_trans *, struct xfs_buf *, | 93 | struct xfs_trans *, struct xfs_buf *, |
100 | xfs_agnumber_t, xfs_btnum_t); | 94 | xfs_agnumber_t, xfs_btnum_t); |
95 | extern int xfs_allocbt_maxrecs(struct xfs_mount *, int, int); | ||
101 | 96 | ||
102 | #endif /* __XFS_ALLOC_BTREE_H__ */ | 97 | #endif /* __XFS_ALLOC_BTREE_H__ */ |