diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2009-07-02 01:09:33 -0400 |
---|---|---|
committer | Felix Blyakher <felixb@sgi.com> | 2009-08-31 15:46:20 -0400 |
commit | d96f8f891f69ac1dc8c7bd82e27525de220c04e1 (patch) | |
tree | 2f9af0f625a164bee6f369feba8aa2a99e73a753 /fs/xfs/xfs_inode.c | |
parent | bc990f5cb424cdca9dda866785d088e2c2110ecc (diff) |
xfs: add more statics & drop some unused functions
A lot more functions could be made static, but they need
forward declarations; this does some easy ones, and also
found a few unused functions in the process.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index da428b3fe0f5..c1dc7ef5a1d8 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -651,7 +651,7 @@ xfs_iformat_btree( | |||
651 | return 0; | 651 | return 0; |
652 | } | 652 | } |
653 | 653 | ||
654 | void | 654 | STATIC void |
655 | xfs_dinode_from_disk( | 655 | xfs_dinode_from_disk( |
656 | xfs_icdinode_t *to, | 656 | xfs_icdinode_t *to, |
657 | xfs_dinode_t *from) | 657 | xfs_dinode_t *from) |
@@ -1247,7 +1247,7 @@ xfs_isize_check( | |||
1247 | * In that case the pages will still be in memory, but the inode size | 1247 | * In that case the pages will still be in memory, but the inode size |
1248 | * will never have been updated. | 1248 | * will never have been updated. |
1249 | */ | 1249 | */ |
1250 | xfs_fsize_t | 1250 | STATIC xfs_fsize_t |
1251 | xfs_file_last_byte( | 1251 | xfs_file_last_byte( |
1252 | xfs_inode_t *ip) | 1252 | xfs_inode_t *ip) |
1253 | { | 1253 | { |
@@ -3837,7 +3837,7 @@ xfs_iext_inline_to_direct( | |||
3837 | /* | 3837 | /* |
3838 | * Resize an extent indirection array to new_size bytes. | 3838 | * Resize an extent indirection array to new_size bytes. |
3839 | */ | 3839 | */ |
3840 | void | 3840 | STATIC void |
3841 | xfs_iext_realloc_indirect( | 3841 | xfs_iext_realloc_indirect( |
3842 | xfs_ifork_t *ifp, /* inode fork pointer */ | 3842 | xfs_ifork_t *ifp, /* inode fork pointer */ |
3843 | int new_size) /* new indirection array size */ | 3843 | int new_size) /* new indirection array size */ |
@@ -3862,7 +3862,7 @@ xfs_iext_realloc_indirect( | |||
3862 | /* | 3862 | /* |
3863 | * Switch from indirection array to linear (direct) extent allocations. | 3863 | * Switch from indirection array to linear (direct) extent allocations. |
3864 | */ | 3864 | */ |
3865 | void | 3865 | STATIC void |
3866 | xfs_iext_indirect_to_direct( | 3866 | xfs_iext_indirect_to_direct( |
3867 | xfs_ifork_t *ifp) /* inode fork pointer */ | 3867 | xfs_ifork_t *ifp) /* inode fork pointer */ |
3868 | { | 3868 | { |