diff options
author | David Chinner <dgc@sgi.com> | 2007-11-23 00:28:09 -0500 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-02-07 02:14:38 -0500 |
commit | a8272ce0c1d49aa3bec57682678f0bdfe28ed4ca (patch) | |
tree | 691b5ac5b1e36bf0dd59408434e3856438258a0e /fs/xfs/xfs_bmap.c | |
parent | a69b176df246d59626e6a9c640b44c0921fa4566 (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.c | 6 |
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 | */ |
6396 | int /* error */ | 6396 | STATIC int /* error */ |
6397 | xfs_bmap_count_tree( | 6397 | xfs_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 | */ |
6472 | int | 6472 | STATIC int |
6473 | xfs_bmap_count_leaves( | 6473 | xfs_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 | */ |
6492 | int | 6492 | STATIC int |
6493 | xfs_bmap_disk_count_leaves( | 6493 | xfs_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, |