aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.c
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2007-11-23 00:28:09 -0500
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-02-07 02:14:38 -0500
commita8272ce0c1d49aa3bec57682678f0bdfe28ed4ca (patch)
tree691b5ac5b1e36bf0dd59408434e3856438258a0e /fs/xfs/xfs_bmap.c
parenta69b176df246d59626e6a9c640b44c0921fa4566 (diff)
[XFS] Fix up sparse warnings.
These are mostly locking annotations, marking things static, casts where needed and declaring stuff in header files. SGI-PV: 971186 SGI-Modid: xfs-linux-melb:xfs-kern:30002a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
-rw-r--r--fs/xfs/xfs_bmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
index 97f0328b5ac2..b02452b11456 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -6393,7 +6393,7 @@ xfs_bmap_count_blocks(
6393 * Recursively walks each level of a btree 6393 * Recursively walks each level of a btree
6394 * to count total fsblocks is use. 6394 * to count total fsblocks is use.
6395 */ 6395 */
6396int /* error */ 6396STATIC int /* error */
6397xfs_bmap_count_tree( 6397xfs_bmap_count_tree(
6398 xfs_mount_t *mp, /* file system mount point */ 6398 xfs_mount_t *mp, /* file system mount point */
6399 xfs_trans_t *tp, /* transaction pointer */ 6399 xfs_trans_t *tp, /* transaction pointer */
@@ -6469,7 +6469,7 @@ xfs_bmap_count_tree(
6469/* 6469/*
6470 * Count leaf blocks given a range of extent records. 6470 * Count leaf blocks given a range of extent records.
6471 */ 6471 */
6472int 6472STATIC int
6473xfs_bmap_count_leaves( 6473xfs_bmap_count_leaves(
6474 xfs_ifork_t *ifp, 6474 xfs_ifork_t *ifp,
6475 xfs_extnum_t idx, 6475 xfs_extnum_t idx,
@@ -6489,7 +6489,7 @@ xfs_bmap_count_leaves(
6489 * Count leaf blocks given a range of extent records originally 6489 * Count leaf blocks given a range of extent records originally
6490 * in btree format. 6490 * in btree format.
6491 */ 6491 */
6492int 6492STATIC int
6493xfs_bmap_disk_count_leaves( 6493xfs_bmap_disk_count_leaves(
6494 xfs_extnum_t idx, 6494 xfs_extnum_t idx,
6495 xfs_bmbt_block_t *block, 6495 xfs_bmbt_block_t *block,