Skip to content

Commit b6c7d6d

Browse files
Caixinchen1tytso
authored andcommitted
ext4: remove unused function declaration
These functions do not have its function implementation. So those function declaration is useless. Remove these Signed-off-by: Cai Xinchen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent a50bda1 commit b6c7d6d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

fs/ext4/ext4.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2697,7 +2697,6 @@ extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
26972697
extern int ext4_claim_free_clusters(struct ext4_sb_info *sbi,
26982698
s64 nclusters, unsigned int flags);
26992699
extern ext4_fsblk_t ext4_count_free_clusters(struct super_block *);
2700-
extern void ext4_check_blocks_bitmap(struct super_block *);
27012700
extern struct ext4_group_desc * ext4_get_group_desc(struct super_block * sb,
27022701
ext4_group_t block_group,
27032702
struct buffer_head ** bh);
@@ -2853,7 +2852,6 @@ extern void ext4_free_inode(handle_t *, struct inode *);
28532852
extern struct inode * ext4_orphan_get(struct super_block *, unsigned long);
28542853
extern unsigned long ext4_count_free_inodes(struct super_block *);
28552854
extern unsigned long ext4_count_dirs(struct super_block *);
2856-
extern void ext4_check_inodes_bitmap(struct super_block *);
28572855
extern void ext4_mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
28582856
extern int ext4_init_inode_table(struct super_block *sb,
28592857
ext4_group_t group, int barrier);
@@ -2896,7 +2894,6 @@ extern int ext4_mb_init(struct super_block *);
28962894
extern int ext4_mb_release(struct super_block *);
28972895
extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *,
28982896
struct ext4_allocation_request *, int *);
2899-
extern int ext4_mb_reserve_blocks(struct super_block *, int);
29002897
extern void ext4_discard_preallocations(struct inode *, unsigned int);
29012898
extern int __init ext4_init_mballoc(void);
29022899
extern void ext4_exit_mballoc(void);
@@ -2976,7 +2973,6 @@ extern void ext4_evict_inode(struct inode *);
29762973
extern void ext4_clear_inode(struct inode *);
29772974
extern int ext4_file_getattr(struct mnt_idmap *, const struct path *,
29782975
struct kstat *, u32, unsigned int);
2979-
extern int ext4_sync_inode(handle_t *, struct inode *);
29802976
extern void ext4_dirty_inode(struct inode *, int);
29812977
extern int ext4_change_inode_journal_flag(struct inode *, int);
29822978
extern int ext4_get_inode_loc(struct inode *, struct ext4_iloc *);
@@ -3524,8 +3520,6 @@ extern loff_t ext4_llseek(struct file *file, loff_t offset, int origin);
35243520
/* inline.c */
35253521
extern int ext4_get_max_inline_size(struct inode *inode);
35263522
extern int ext4_find_inline_data_nolock(struct inode *inode);
3527-
extern int ext4_init_inline_data(handle_t *handle, struct inode *inode,
3528-
unsigned int len);
35293523
extern int ext4_destroy_inline_data(handle_t *handle, struct inode *inode);
35303524

35313525
int ext4_readpage_inline(struct inode *inode, struct folio *folio);

0 commit comments

Comments
 (0)