diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2014-05-12 10:50:23 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-05-12 10:50:23 -0400 |
commit | c197855ea14175a25003c276824689e8ba318e53 (patch) | |
tree | b01d69bebe4c4dc5ca276447ec9d16bece30c723 /fs/ext4/ext4.h | |
parent | e674e5cbd0942b42a12106ac0be8330f4301bef4 (diff) |
ext4: make local functions static
I have been running make namespacecheck to look for unneeded globals, and
found these in ext4.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 4feb2d5819ae..1479e2ae00d2 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -1956,10 +1956,6 @@ extern void ext4_get_group_no_and_offset(struct super_block *sb, | |||
1956 | extern ext4_group_t ext4_get_group_number(struct super_block *sb, | 1956 | extern ext4_group_t ext4_get_group_number(struct super_block *sb, |
1957 | ext4_fsblk_t block); | 1957 | ext4_fsblk_t block); |
1958 | 1958 | ||
1959 | extern void ext4_validate_block_bitmap(struct super_block *sb, | ||
1960 | struct ext4_group_desc *desc, | ||
1961 | ext4_group_t block_group, | ||
1962 | struct buffer_head *bh); | ||
1963 | extern unsigned int ext4_block_group(struct super_block *sb, | 1959 | extern unsigned int ext4_block_group(struct super_block *sb, |
1964 | ext4_fsblk_t blocknr); | 1960 | ext4_fsblk_t blocknr); |
1965 | extern ext4_grpblk_t ext4_block_group_offset(struct super_block *sb, | 1961 | extern ext4_grpblk_t ext4_block_group_offset(struct super_block *sb, |
@@ -1988,16 +1984,9 @@ extern int ext4_wait_block_bitmap(struct super_block *sb, | |||
1988 | struct buffer_head *bh); | 1984 | struct buffer_head *bh); |
1989 | extern struct buffer_head *ext4_read_block_bitmap(struct super_block *sb, | 1985 | extern struct buffer_head *ext4_read_block_bitmap(struct super_block *sb, |
1990 | ext4_group_t block_group); | 1986 | ext4_group_t block_group); |
1991 | extern void ext4_init_block_bitmap(struct super_block *sb, | ||
1992 | struct buffer_head *bh, | ||
1993 | ext4_group_t group, | ||
1994 | struct ext4_group_desc *desc); | ||
1995 | extern unsigned ext4_free_clusters_after_init(struct super_block *sb, | 1987 | extern unsigned ext4_free_clusters_after_init(struct super_block *sb, |
1996 | ext4_group_t block_group, | 1988 | ext4_group_t block_group, |
1997 | struct ext4_group_desc *gdp); | 1989 | struct ext4_group_desc *gdp); |
1998 | extern unsigned ext4_num_overhead_clusters(struct super_block *sb, | ||
1999 | ext4_group_t block_group, | ||
2000 | struct ext4_group_desc *gdp); | ||
2001 | ext4_fsblk_t ext4_inode_to_goal_block(struct inode *); | 1990 | ext4_fsblk_t ext4_inode_to_goal_block(struct inode *); |
2002 | 1991 | ||
2003 | /* dir.c */ | 1992 | /* dir.c */ |
@@ -2140,8 +2129,6 @@ extern int ext4_alloc_da_blocks(struct inode *inode); | |||
2140 | extern void ext4_set_aops(struct inode *inode); | 2129 | extern void ext4_set_aops(struct inode *inode); |
2141 | extern int ext4_writepage_trans_blocks(struct inode *); | 2130 | extern int ext4_writepage_trans_blocks(struct inode *); |
2142 | extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks); | 2131 | extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks); |
2143 | extern int ext4_block_truncate_page(handle_t *handle, | ||
2144 | struct address_space *mapping, loff_t from); | ||
2145 | extern int ext4_zero_partial_blocks(handle_t *handle, struct inode *inode, | 2132 | extern int ext4_zero_partial_blocks(handle_t *handle, struct inode *inode, |
2146 | loff_t lstart, loff_t lend); | 2133 | loff_t lstart, loff_t lend); |
2147 | extern int ext4_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf); | 2134 | extern int ext4_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf); |
@@ -2201,8 +2188,6 @@ extern int ext4_resize_fs(struct super_block *sb, ext4_fsblk_t n_blocks_count); | |||
2201 | 2188 | ||
2202 | /* super.c */ | 2189 | /* super.c */ |
2203 | extern int ext4_calculate_overhead(struct super_block *sb); | 2190 | extern int ext4_calculate_overhead(struct super_block *sb); |
2204 | extern int ext4_superblock_csum_verify(struct super_block *sb, | ||
2205 | struct ext4_super_block *es); | ||
2206 | extern void ext4_superblock_csum_set(struct super_block *sb); | 2191 | extern void ext4_superblock_csum_set(struct super_block *sb); |
2207 | extern void *ext4_kvmalloc(size_t size, gfp_t flags); | 2192 | extern void *ext4_kvmalloc(size_t size, gfp_t flags); |
2208 | extern void *ext4_kvzalloc(size_t size, gfp_t flags); | 2193 | extern void *ext4_kvzalloc(size_t size, gfp_t flags); |
@@ -2574,19 +2559,11 @@ extern const struct file_operations ext4_dir_operations; | |||
2574 | extern const struct inode_operations ext4_file_inode_operations; | 2559 | extern const struct inode_operations ext4_file_inode_operations; |
2575 | extern const struct file_operations ext4_file_operations; | 2560 | extern const struct file_operations ext4_file_operations; |
2576 | extern loff_t ext4_llseek(struct file *file, loff_t offset, int origin); | 2561 | extern loff_t ext4_llseek(struct file *file, loff_t offset, int origin); |
2577 | extern void ext4_unwritten_wait(struct inode *inode); | ||
2578 | 2562 | ||
2579 | /* inline.c */ | 2563 | /* inline.c */ |
2580 | extern int ext4_has_inline_data(struct inode *inode); | 2564 | extern int ext4_has_inline_data(struct inode *inode); |
2581 | extern int ext4_get_inline_size(struct inode *inode); | ||
2582 | extern int ext4_get_max_inline_size(struct inode *inode); | 2565 | extern int ext4_get_max_inline_size(struct inode *inode); |
2583 | extern int ext4_find_inline_data_nolock(struct inode *inode); | 2566 | extern int ext4_find_inline_data_nolock(struct inode *inode); |
2584 | extern void ext4_write_inline_data(struct inode *inode, | ||
2585 | struct ext4_iloc *iloc, | ||
2586 | void *buffer, loff_t pos, | ||
2587 | unsigned int len); | ||
2588 | extern int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, | ||
2589 | unsigned int len); | ||
2590 | extern int ext4_init_inline_data(handle_t *handle, struct inode *inode, | 2567 | extern int ext4_init_inline_data(handle_t *handle, struct inode *inode, |
2591 | unsigned int len); | 2568 | unsigned int len); |
2592 | extern int ext4_destroy_inline_data(handle_t *handle, struct inode *inode); | 2569 | extern int ext4_destroy_inline_data(handle_t *handle, struct inode *inode); |
@@ -2779,9 +2756,6 @@ extern int ext4_bio_write_page(struct ext4_io_submit *io, | |||
2779 | 2756 | ||
2780 | /* mmp.c */ | 2757 | /* mmp.c */ |
2781 | extern int ext4_multi_mount_protect(struct super_block *, ext4_fsblk_t); | 2758 | extern int ext4_multi_mount_protect(struct super_block *, ext4_fsblk_t); |
2782 | extern void ext4_mmp_csum_set(struct super_block *sb, struct mmp_struct *mmp); | ||
2783 | extern int ext4_mmp_csum_verify(struct super_block *sb, | ||
2784 | struct mmp_struct *mmp); | ||
2785 | 2759 | ||
2786 | /* | 2760 | /* |
2787 | * Note that these flags will never ever appear in a buffer_head's state flag. | 2761 | * Note that these flags will never ever appear in a buffer_head's state flag. |