Whamcloud - gitweb
LU-6722 ldiskfs: fix credits at ldiskfs_delete_inode
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / rhel6.3 / export-ext4-2.6.patch
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 @@ -4642,6 +4646,11 @@ static void __exit exit_ext4_fs(void)
6         exit_ext4_system_zone();
7  }
8  
9 +EXPORT_SYMBOL(ext4_bread);
10 +EXPORT_SYMBOL(ext4_journal_start_sb);
11 +EXPORT_SYMBOL(__ext4_journal_stop);
12 +EXPORT_SYMBOL(ext4_force_commit);
13 +
14  MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
15  MODULE_DESCRIPTION("Fourth Extended Filesystem");
16  MODULE_LICENSE("GPL");
17 Index: linux-stage/fs/ext4/ext4.h
18 ===================================================================
19 --- linux-stage.orig/fs/ext4/ext4.h
20 +++ linux-stage/fs/ext4/ext4.h
21 @@ -1643,6 +1643,8 @@ extern unsigned ext4_init_inode_bitmap(s
22                                        struct buffer_head *bh,
23                                        ext4_group_t group,
24                                        struct ext4_group_desc *desc);
25 +extern struct buffer_head *ext4_read_inode_bitmap(struct super_block *sb,
26 +                                                 ext4_group_t block_group);
27  extern void mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
28  extern int ext4_init_inode_table(struct super_block *sb,
29                                  ext4_group_t group, int barrier);
30 Index: linux-stage/fs/ext4/ialloc.c
31 ===================================================================
32 --- linux-stage.orig/fs/ext4/ialloc.c
33 +++ linux-stage/fs/ext4/ialloc.c
34 @@ -97,7 +97,7 @@ unsigned ext4_init_inode_bitmap(struct s
35   *
36   * Return buffer_head of bitmap on success or NULL.
37   */
38 -static struct buffer_head *
39 +struct buffer_head *
40  ext4_read_inode_bitmap(struct super_block *sb, ext4_group_t block_group)
41  {
42         struct ext4_group_desc *desc;
43 @@ -161,6 +161,7 @@ ext4_read_inode_bitmap(struct super_bloc
44         }
45         return bh;
46  }
47 +EXPORT_SYMBOL(ext4_read_inode_bitmap);
48  
49  /*
50   * NOTE! When we get the inode, we're the only people
51 Index: linux-stage/fs/ext4/balloc.c
52 ===================================================================
53 --- linux-stage.orig/fs/ext4/balloc.c
54 +++ linux-stage/fs/ext4/balloc.c
55 @@ -229,6 +229,7 @@ struct ext4_group_desc * ext4_get_group_
56                 *bh = sbi->s_group_desc[group_desc];
57         return desc;
58  }
59 +EXPORT_SYMBOL(ext4_get_group_desc);
60  
61  static int ext4_valid_block_bitmap(struct super_block *sb,
62                                         struct ext4_group_desc *desc,
63 Index: linux-stage/fs/ext4/inode.c
64 ===================================================================
65 --- linux-stage.orig/fs/ext4/inode.c
66 +++ linux-stage/fs/ext4/inode.c
67 @@ -5131,6 +5131,7 @@ out_stop:
68  
69         ext4_journal_stop(handle);
70  }
71 +EXPORT_SYMBOL(ext4_truncate);
72  
73  /*
74   * ext4_get_inode_loc returns with an extra refcount against the inode's