1 Index: linux-stage/fs/ext4/super.c
2 ===================================================================
3 --- linux-stage.orig/fs/ext4/super.c
4 +++ linux-stage/fs/ext4/super.c
5 @@ -334,6 +334,8 @@ void ext4_journal_abort_handle(const cha
6 jbd2_journal_abort_handle(handle);
9 +EXPORT_SYMBOL(ext4_journal_abort_handle);
11 /* Deal with the reporting of failure conditions on a filesystem such as
12 * inconsistencies detected or read IO failures.
14 @@ -3529,6 +3531,8 @@ out_fail:
18 +EXPORT_SYMBOL(ext4_force_commit);
21 * Setup any per-fs journal parameters now. We'll do this both on
22 * initial mount, once the journal has been initialised but before we've
23 @@ -4642,6 +4646,12 @@ static void __exit exit_ext4_fs(void)
24 exit_ext4_system_zone();
27 +EXPORT_SYMBOL(ext4_xattr_get);
28 +EXPORT_SYMBOL(ext4_xattr_set_handle);
29 +EXPORT_SYMBOL(ext4_bread);
30 +EXPORT_SYMBOL(ext4_journal_start_sb);
31 +EXPORT_SYMBOL(__ext4_journal_stop);
33 MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
34 MODULE_DESCRIPTION("Fourth Extended Filesystem");
35 MODULE_LICENSE("GPL");
36 Index: linux-stage/fs/ext4/ext4.h
37 ===================================================================
38 --- linux-stage.orig/fs/ext4/ext4.h
39 +++ linux-stage/fs/ext4/ext4.h
40 @@ -1643,6 +1643,8 @@ extern unsigned ext4_init_inode_bitmap(s
41 struct buffer_head *bh,
43 struct ext4_group_desc *desc);
44 +extern struct buffer_head *ext4_read_inode_bitmap(struct super_block *sb,
45 + ext4_group_t block_group);
46 extern void mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
47 extern int ext4_init_inode_table(struct super_block *sb,
48 ext4_group_t group, int barrier);
49 Index: linux-stage/fs/ext4/ialloc.c
50 ===================================================================
51 --- linux-stage.orig/fs/ext4/ialloc.c
52 +++ linux-stage/fs/ext4/ialloc.c
53 @@ -97,7 +97,7 @@ unsigned ext4_init_inode_bitmap(struct s
55 * Return buffer_head of bitmap on success or NULL.
57 -static struct buffer_head *
59 ext4_read_inode_bitmap(struct super_block *sb, ext4_group_t block_group)
61 struct ext4_group_desc *desc;
62 @@ -161,6 +161,7 @@ ext4_read_inode_bitmap(struct super_bloc
66 +EXPORT_SYMBOL(ext4_read_inode_bitmap);
69 * NOTE! When we get the inode, we're the only people
70 Index: linux-stage/fs/ext4/balloc.c
71 ===================================================================
72 --- linux-stage.orig/fs/ext4/balloc.c
73 +++ linux-stage/fs/ext4/balloc.c
74 @@ -229,6 +229,7 @@ struct ext4_group_desc * ext4_get_group_
75 *bh = sbi->s_group_desc[group_desc];
78 +EXPORT_SYMBOL(ext4_get_group_desc);
80 static int ext4_valid_block_bitmap(struct super_block *sb,
81 struct ext4_group_desc *desc,
82 Index: linux-stage/fs/ext4/inode.c
83 ===================================================================
84 --- linux-stage.orig/fs/ext4/inode.c
85 +++ linux-stage/fs/ext4/inode.c
86 @@ -5131,6 +5131,7 @@ out_stop:
88 ext4_journal_stop(handle);
90 +EXPORT_SYMBOL(ext4_truncate);
93 * ext4_get_inode_loc returns with an extra refcount against the inode's