Whamcloud - gitweb
- missed patches from suse-2.4.21-2 series added
[fs/lustre-release.git] / lustre / kernel_patches / patches / linux-2.4.19-xattr-0.8.54-suse.patch
1  ext2/super.c        |    3 +--
2  ext3/ext3-exports.c |   13 +++++++++++++
3  2 files changed, 14 insertions(+), 2 deletions(-)
4
5 Index: linux-2.4.19/fs/ext2/super.c
6 ===================================================================
7 --- linux-2.4.19.orig/fs/ext2/super.c   2004-04-23 17:53:55.000000000 -0400
8 +++ linux-2.4.19/fs/ext2/super.c        2004-04-23 22:30:41.000000000 -0400
9 @@ -70,6 +70,7 @@
10  {
11         va_list args;
12  
13 +       ext2_xattr_put_super(sb);
14         if (!(sb->s_flags & MS_RDONLY)) {
15                 sb->u.ext2_sb.s_mount_state |= EXT2_ERROR_FS;
16                 sb->u.ext2_sb.s_es->s_state =
17 Index: linux-2.4.19/fs/ext3/super.c
18 ===================================================================
19 --- linux-2.4.19.orig/fs/ext3/super.c   2004-04-23 18:26:27.000000000 -0400
20 +++ linux-2.4.19/fs/ext3/super.c        2004-04-23 22:30:41.000000000 -0400
21 @@ -1827,8 +1827,6 @@
22         exit_ext3_xattr();
23  }
24  
25 -EXPORT_SYMBOL(ext3_force_commit);
26 -EXPORT_SYMBOL(ext3_bread);
27  
28  MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
29  MODULE_DESCRIPTION("Second Extended Filesystem with journaling extensions");
30 Index: linux-2.4.19/fs/ext3/ext3-exports.c
31 ===================================================================
32 --- linux-2.4.19.orig/fs/ext3/ext3-exports.c    2003-01-30 05:24:37.000000000 -0500
33 +++ linux-2.4.19/fs/ext3/ext3-exports.c 2004-04-23 22:30:41.000000000 -0400
34 @@ -0,0 +1,13 @@
35 +#include <linux/config.h>
36 +#include <linux/module.h>
37 +#include <linux/ext3_fs.h>
38 +#include <linux/ext3_jbd.h>
39 +#include <linux/ext3_xattr.h>
40 +
41 +EXPORT_SYMBOL(ext3_force_commit);
42 +EXPORT_SYMBOL(ext3_bread);
43 +EXPORT_SYMBOL(ext3_xattr_register);
44 +EXPORT_SYMBOL(ext3_xattr_unregister);
45 +EXPORT_SYMBOL(ext3_xattr_get);
46 +EXPORT_SYMBOL(ext3_xattr_list);
47 +EXPORT_SYMBOL(ext3_xattr_set);
48 Index: linux-2.4.19/fs/ext3/Makefile
49 ===================================================================
50 --- linux-2.4.19.orig/fs/ext3/Makefile  2004-04-23 18:26:27.000000000 -0400
51 +++ linux-2.4.19/fs/ext3/Makefile       2004-04-23 23:05:20.000000000 -0400
52 @@ -9,7 +9,7 @@
53  
54  O_TARGET := ext3.o
55  
56 -export-objs := super.o inode.o
57 +export-objs := ext3-exports.c
58  
59  obj-y    := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
60                 ioctl.o namei.o super.o symlink.o hash.o