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>
This commit is contained in:
committed by
Felix Blyakher
parent
bc990f5cb4
commit
d96f8f891f
@ -651,7 +651,7 @@ xfs_iformat_btree(
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
STATIC void
|
||||
xfs_dinode_from_disk(
|
||||
xfs_icdinode_t *to,
|
||||
xfs_dinode_t *from)
|
||||
@ -1247,7 +1247,7 @@ xfs_isize_check(
|
||||
* In that case the pages will still be in memory, but the inode size
|
||||
* will never have been updated.
|
||||
*/
|
||||
xfs_fsize_t
|
||||
STATIC xfs_fsize_t
|
||||
xfs_file_last_byte(
|
||||
xfs_inode_t *ip)
|
||||
{
|
||||
@ -3837,7 +3837,7 @@ xfs_iext_inline_to_direct(
|
||||
/*
|
||||
* Resize an extent indirection array to new_size bytes.
|
||||
*/
|
||||
void
|
||||
STATIC void
|
||||
xfs_iext_realloc_indirect(
|
||||
xfs_ifork_t *ifp, /* inode fork pointer */
|
||||
int new_size) /* new indirection array size */
|
||||
@ -3862,7 +3862,7 @@ xfs_iext_realloc_indirect(
|
||||
/*
|
||||
* Switch from indirection array to linear (direct) extent allocations.
|
||||
*/
|
||||
void
|
||||
STATIC void
|
||||
xfs_iext_indirect_to_direct(
|
||||
xfs_ifork_t *ifp) /* inode fork pointer */
|
||||
{
|
||||
|
Reference in New Issue
Block a user