Whamcloud - gitweb
LU-20 ldiskfs: remove spurious warning message
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext3-osd-iam-exports.patch
1 Index: linux-2.6.16.60-0.33_org/fs/ext3/hash.c
2 ===================================================================
3 --- linux-2.6.16.60-0.33_org/fs/ext3/hash.c     2009-07-01 18:16:50.000000000 +0530
4 +++ linux-2.6.16.60-0.33_new/fs/ext3/hash.c     2009-07-01 18:26:58.000000000 +0530
5 @@ -8,7 +8,7 @@
6   * This file may be redistributed under the terms of the GNU Public
7   * License.
8   */
9 -
10 +#include <linux/module.h>
11  #include <linux/fs.h>
12  #include <linux/jbd.h>
13  #include <linux/sched.h>
14 @@ -173,3 +173,4 @@ int ext3fs_dirhash(const char *name, int
15         hinfo->minor_hash = minor_hash;
16         return 0;
17  }
18 +EXPORT_SYMBOL(ext3fs_dirhash);
19 Index: linux-2.6.16.60-0.33_org/fs/ext3/namei.c
20 ===================================================================
21 --- linux-2.6.16.60-0.33_org/fs/ext3/namei.c    2009-07-01 18:16:50.000000000 +0530
22 +++ linux-2.6.16.60-0.33_new/fs/ext3/namei.c    2009-07-01 18:24:49.000000000 +0530
23 @@ -75,6 +75,7 @@ struct buffer_head *ext3_append(handle_t
24  
25         return bh;
26  }
27 +EXPORT_SYMBOL(ext3_append);
28  
29  #ifndef assert
30  #define assert(test) J_ASSERT(test)
31 Index: linux-2.6.16.60-0.33_org/fs/ext3/super.c
32 ===================================================================
33 --- linux-2.6.16.60-0.33_org/fs/ext3/super.c    2009-07-01 18:16:50.000000000 +0530
34 +++ linux-2.6.16.60-0.33_new/fs/ext3/super.c    2009-07-01 18:24:27.000000000 +0530
35 @@ -260,6 +260,7 @@ void __ext3_std_error (struct super_bloc
36  
37         ext3_handle_error(sb);
38  }
39 +EXPORT_SYMBOL(__ext3_std_error);
40  
41  /*
42   * ext3_abort is a much stronger failure handler than ext3_error.  The
43 Index: linux-2.6.16.60-0.33_org/include/linux/ext3_fs.h
44 ===================================================================
45 --- linux-2.6.16.60-0.33_org/include/linux/ext3_fs.h    2009-07-01 18:16:50.000000000 +0530
46 +++ linux-2.6.16.60-0.33_new/include/linux/ext3_fs.h    2009-07-01 18:22:09.000000000 +0530
47 @@ -1055,6 +1055,8 @@ extern void ext3_abort (struct super_blo
48  extern void ext3_warning (struct super_block *, const char *, const char *, ...)
49         __attribute__ ((format (printf, 3, 4)));
50  extern void ext3_update_dynamic_rev (struct super_block *sb);
51 +extern void __ext3_std_error (struct super_block * sb, const char * function,
52 +                               int errno);
53  
54  #define ext3_std_error(sb, errno)                              \
55  do {                                                           \
56 @@ -1076,6 +1078,8 @@ extern struct file_operations ext3_file_
57  /* namei.c */
58  extern struct inode_operations ext3_dir_inode_operations;
59  extern struct inode_operations ext3_special_inode_operations;
60 +extern struct buffer_head *ext3_append(handle_t *handle, struct inode *inode,
61 +                                       u32 *block, int *err);
62  
63  /* symlink.c */
64  extern struct inode_operations ext3_symlink_inode_operations;
65