Whamcloud - gitweb
LU-136 change "force_over_16tb" mount option to "force_over_128tb"
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext4-osd-iam-exports.patch
1 diff -rupN 2.6.27.21_2/fs/ext4/ext4.h 2.6.27.21_3/fs/ext4/ext4.h
2 --- 2.6.27.21_2/fs/ext4/ext4.h  2009-07-17 12:19:59.000000000 +0530
3 +++ 2.6.27.21_3/fs/ext4/ext4.h  2009-07-17 12:38:59.000000000 +0530
4 @@ -1181,6 +1181,9 @@ extern int ext4_orphan_add(handle_t *, s
5  extern int ext4_orphan_del(handle_t *, struct inode *);
6  extern int ext4_htree_fill_tree(struct file *dir_file, __u32 start_hash,
7                                 __u32 start_minor_hash, __u32 *next_hash);
8 +extern struct buffer_head *ext4_append(handle_t *handle,
9 +                                      struct inode *inode,
10 +                                      ext4_lblk_t *block, int *err);
11  
12  /* resize.c */
13  extern int ext4_group_add(struct super_block *sb,
14 diff -rupN 2.6.27.21_2/fs/ext4/hash.c 2.6.27.21_3/fs/ext4/hash.c
15 --- 2.6.27.21_2/fs/ext4/hash.c  2009-07-17 12:12:56.000000000 +0530
16 +++ 2.6.27.21_3/fs/ext4/hash.c  2009-07-17 12:40:22.000000000 +0530
17 @@ -9,6 +9,7 @@
18   * License.
19   */
20  
21 +#include <linux/module.h>
22  #include <linux/fs.h>
23  #include <linux/jbd2.h>
24  #include <linux/cryptohash.h>
25 @@ -206,3 +207,4 @@ int ext4fs_dirhash(const char *name, int
26         hinfo->minor_hash = minor_hash;
27         return 0;
28  }
29 +EXPORT_SYMBOL(ext4fs_dirhash);
30 diff -rupN 2.6.27.21_2/fs/ext4/namei.c 2.6.27.21_3/fs/ext4/namei.c
31 --- 2.6.27.21_2/fs/ext4/namei.c 2009-07-17 12:23:51.000000000 +0530
32 +++ 2.6.27.21_3/fs/ext4/namei.c 2009-07-17 12:37:59.000000000 +0530
33 @@ -51,9 +51,9 @@
34  #define NAMEI_RA_SIZE       (NAMEI_RA_CHUNKS * NAMEI_RA_BLOCKS)
35  #define NAMEI_RA_INDEX(c,b)  (((c) * NAMEI_RA_BLOCKS) + (b))
36  
37 -static struct buffer_head *ext4_append(handle_t *handle,
38 -                                       struct inode *inode,
39 -                                       ext4_lblk_t *block, int *err)
40 +struct buffer_head *ext4_append(handle_t *handle,
41 +                               struct inode *inode,
42 +                               ext4_lblk_t *block, int *err)
43  {
44         struct buffer_head *bh;
45         struct ext4_inode_info *ei = EXT4_I(inode);
46 @@ -72,6 +72,7 @@ static struct buffer_head *ext4_append(h
47         up(&ei->i_append_sem);
48         return bh;
49  }
50 +EXPORT_SYMBOL(ext4_append);
51  
52  #ifndef assert
53  #define assert(test) J_ASSERT(test)
54 diff -rupN 2.6.27.21_2/fs/ext4/super.c 2.6.27.21_3/fs/ext4/super.c
55 --- 2.6.27.21_2/fs/ext4/super.c 2009-07-17 12:12:57.000000000 +0530
56 +++ 2.6.27.21_3/fs/ext4/super.c 2009-07-17 12:40:52.000000000 +0530
57 @@ -377,6 +377,7 @@ void __ext4_std_error(struct super_block
58  
59         ext4_handle_error(sb);
60  }
61 +EXPORT_SYMBOL(__ext4_std_error);
62  
63  /*
64   * ext4_abort is a much stronger failure handler than ext4_error.  The