diff options
Diffstat (limited to 'fs/xfs/xfs_btree.c')
-rw-r--r-- | fs/xfs/xfs_btree.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/fs/xfs/xfs_btree.c b/fs/xfs/xfs_btree.c index 9dd22dd95487..0cc63d657a14 100644 --- a/fs/xfs/xfs_btree.c +++ b/fs/xfs/xfs_btree.c | |||
@@ -90,6 +90,16 @@ xfs_btree_maxrecs( | |||
90 | */ | 90 | */ |
91 | 91 | ||
92 | /* | 92 | /* |
93 | * Retrieve the block pointer from the cursor at the given level. | ||
94 | * This may be a bmap btree root or from a buffer. | ||
95 | */ | ||
96 | STATIC xfs_btree_block_t * /* generic btree block pointer */ | ||
97 | xfs_btree_get_block( | ||
98 | xfs_btree_cur_t *cur, /* btree cursor */ | ||
99 | int level, /* level in btree */ | ||
100 | struct xfs_buf **bpp); /* buffer containing the block */ | ||
101 | |||
102 | /* | ||
93 | * Checking routine: return maxrecs for the block. | 103 | * Checking routine: return maxrecs for the block. |
94 | */ | 104 | */ |
95 | STATIC int /* number of records fitting in block */ | 105 | STATIC int /* number of records fitting in block */ |
@@ -497,7 +507,7 @@ xfs_btree_firstrec( | |||
497 | * Retrieve the block pointer from the cursor at the given level. | 507 | * Retrieve the block pointer from the cursor at the given level. |
498 | * This may be a bmap btree root or from a buffer. | 508 | * This may be a bmap btree root or from a buffer. |
499 | */ | 509 | */ |
500 | xfs_btree_block_t * /* generic btree block pointer */ | 510 | STATIC xfs_btree_block_t * /* generic btree block pointer */ |
501 | xfs_btree_get_block( | 511 | xfs_btree_get_block( |
502 | xfs_btree_cur_t *cur, /* btree cursor */ | 512 | xfs_btree_cur_t *cur, /* btree cursor */ |
503 | int level, /* level in btree */ | 513 | int level, /* level in btree */ |