Index: linux-stage/fs/ext4/super.c =================================================================== --- linux-stage.orig/fs/ext4/super.c +++ linux-stage/fs/ext4/super.c @@ -4642,6 +4646,11 @@ static void __exit exit_ext4_fs(void) exit_ext4_system_zone(); } +EXPORT_SYMBOL(ext4_bread); +EXPORT_SYMBOL(ext4_journal_start_sb); +EXPORT_SYMBOL(__ext4_journal_stop); +EXPORT_SYMBOL(ext4_force_commit); + MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others"); MODULE_DESCRIPTION("Fourth Extended Filesystem"); MODULE_LICENSE("GPL"); Index: linux-stage/fs/ext4/ext4.h =================================================================== --- linux-stage.orig/fs/ext4/ext4.h +++ linux-stage/fs/ext4/ext4.h @@ -1643,6 +1643,8 @@ extern unsigned ext4_init_inode_bitmap(s struct buffer_head *bh, ext4_group_t group, struct ext4_group_desc *desc); +extern struct buffer_head *ext4_read_inode_bitmap(struct super_block *sb, + ext4_group_t block_group); extern void mark_bitmap_end(int start_bit, int end_bit, char *bitmap); extern int ext4_init_inode_table(struct super_block *sb, ext4_group_t group, int barrier); Index: linux-stage/fs/ext4/ialloc.c =================================================================== --- linux-stage.orig/fs/ext4/ialloc.c +++ linux-stage/fs/ext4/ialloc.c @@ -97,7 +97,7 @@ unsigned ext4_init_inode_bitmap(struct s * * Return buffer_head of bitmap on success or NULL. */ -static struct buffer_head * +struct buffer_head * ext4_read_inode_bitmap(struct super_block *sb, ext4_group_t block_group) { struct ext4_group_desc *desc; @@ -161,6 +161,7 @@ ext4_read_inode_bitmap(struct super_bloc } return bh; } +EXPORT_SYMBOL(ext4_read_inode_bitmap); /* * NOTE! When we get the inode, we're the only people Index: linux-stage/fs/ext4/balloc.c =================================================================== --- linux-stage.orig/fs/ext4/balloc.c +++ linux-stage/fs/ext4/balloc.c @@ -229,6 +229,7 @@ struct ext4_group_desc * ext4_get_group_ *bh = sbi->s_group_desc[group_desc]; return desc; } +EXPORT_SYMBOL(ext4_get_group_desc); static int ext4_valid_block_bitmap(struct super_block *sb, struct ext4_group_desc *desc, Index: linux-stage/fs/ext4/inode.c =================================================================== --- linux-stage.orig/fs/ext4/inode.c +++ linux-stage/fs/ext4/inode.c @@ -5131,6 +5131,7 @@ out_stop: ext4_journal_stop(handle); } +EXPORT_SYMBOL(ext4_truncate); /* * ext4_get_inode_loc returns with an extra refcount against the inode's