aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2014-05-12 10:50:23 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-05-12 10:50:23 -0400
commitc197855ea14175a25003c276824689e8ba318e53 (patch)
treeb01d69bebe4c4dc5ca276447ec9d16bece30c723 /fs/ext4/ext4.h
parente674e5cbd0942b42a12106ac0be8330f4301bef4 (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.h26
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,
1956extern ext4_group_t ext4_get_group_number(struct super_block *sb, 1956extern ext4_group_t ext4_get_group_number(struct super_block *sb,
1957 ext4_fsblk_t block); 1957 ext4_fsblk_t block);
1958 1958
1959extern 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);
1963extern unsigned int ext4_block_group(struct super_block *sb, 1959extern unsigned int ext4_block_group(struct super_block *sb,
1964 ext4_fsblk_t blocknr); 1960 ext4_fsblk_t blocknr);
1965extern ext4_grpblk_t ext4_block_group_offset(struct super_block *sb, 1961extern 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);
1989extern struct buffer_head *ext4_read_block_bitmap(struct super_block *sb, 1985extern struct buffer_head *ext4_read_block_bitmap(struct super_block *sb,
1990 ext4_group_t block_group); 1986 ext4_group_t block_group);
1991extern 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);
1995extern unsigned ext4_free_clusters_after_init(struct super_block *sb, 1987extern 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);
1998extern unsigned ext4_num_overhead_clusters(struct super_block *sb,
1999 ext4_group_t block_group,
2000 struct ext4_group_desc *gdp);
2001ext4_fsblk_t ext4_inode_to_goal_block(struct inode *); 1990ext4_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);
2140extern void ext4_set_aops(struct inode *inode); 2129extern void ext4_set_aops(struct inode *inode);
2141extern int ext4_writepage_trans_blocks(struct inode *); 2130extern int ext4_writepage_trans_blocks(struct inode *);
2142extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks); 2131extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks);
2143extern int ext4_block_truncate_page(handle_t *handle,
2144 struct address_space *mapping, loff_t from);
2145extern int ext4_zero_partial_blocks(handle_t *handle, struct inode *inode, 2132extern 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);
2147extern int ext4_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf); 2134extern 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 */
2203extern int ext4_calculate_overhead(struct super_block *sb); 2190extern int ext4_calculate_overhead(struct super_block *sb);
2204extern int ext4_superblock_csum_verify(struct super_block *sb,
2205 struct ext4_super_block *es);
2206extern void ext4_superblock_csum_set(struct super_block *sb); 2191extern void ext4_superblock_csum_set(struct super_block *sb);
2207extern void *ext4_kvmalloc(size_t size, gfp_t flags); 2192extern void *ext4_kvmalloc(size_t size, gfp_t flags);
2208extern void *ext4_kvzalloc(size_t size, gfp_t flags); 2193extern void *ext4_kvzalloc(size_t size, gfp_t flags);
@@ -2574,19 +2559,11 @@ extern const struct file_operations ext4_dir_operations;
2574extern const struct inode_operations ext4_file_inode_operations; 2559extern const struct inode_operations ext4_file_inode_operations;
2575extern const struct file_operations ext4_file_operations; 2560extern const struct file_operations ext4_file_operations;
2576extern loff_t ext4_llseek(struct file *file, loff_t offset, int origin); 2561extern loff_t ext4_llseek(struct file *file, loff_t offset, int origin);
2577extern void ext4_unwritten_wait(struct inode *inode);
2578 2562
2579/* inline.c */ 2563/* inline.c */
2580extern int ext4_has_inline_data(struct inode *inode); 2564extern int ext4_has_inline_data(struct inode *inode);
2581extern int ext4_get_inline_size(struct inode *inode);
2582extern int ext4_get_max_inline_size(struct inode *inode); 2565extern int ext4_get_max_inline_size(struct inode *inode);
2583extern int ext4_find_inline_data_nolock(struct inode *inode); 2566extern int ext4_find_inline_data_nolock(struct inode *inode);
2584extern void ext4_write_inline_data(struct inode *inode,
2585 struct ext4_iloc *iloc,
2586 void *buffer, loff_t pos,
2587 unsigned int len);
2588extern int ext4_prepare_inline_data(handle_t *handle, struct inode *inode,
2589 unsigned int len);
2590extern int ext4_init_inline_data(handle_t *handle, struct inode *inode, 2567extern int ext4_init_inline_data(handle_t *handle, struct inode *inode,
2591 unsigned int len); 2568 unsigned int len);
2592extern int ext4_destroy_inline_data(handle_t *handle, struct inode *inode); 2569extern 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 */
2781extern int ext4_multi_mount_protect(struct super_block *, ext4_fsblk_t); 2758extern int ext4_multi_mount_protect(struct super_block *, ext4_fsblk_t);
2782extern void ext4_mmp_csum_set(struct super_block *sb, struct mmp_struct *mmp);
2783extern 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.