Whamcloud - gitweb
* Removed the (new) tcp zero-copy patches
[fs/lustre-release.git] / lustre / kernel_patches / patches / exports_2.4.19-suse2.patch
1  fs/ext3/Makefile   |    2 ++
2  fs/ext3/super.c    |    2 +-
3  include/linux/fs.h |    1 +
4  kernel/ksyms.c     |    4 ++++
5  4 files changed, 8 insertions(+), 1 deletion(-)
6
7 Index: linux-2.4.19.SuSE/fs/ext3/Makefile
8 ===================================================================
9 --- linux-2.4.19.SuSE.orig/fs/ext3/Makefile     2004-04-29 16:18:08.000000000 -0700
10 +++ linux-2.4.19.SuSE/fs/ext3/Makefile  2004-04-29 16:36:09.000000000 -0700
11 @@ -9,6 +9,8 @@
12  
13  O_TARGET := ext3.o
14  
15 +export-objs := super.o inode.o
16 +
17  obj-y    := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
18                 ioctl.o namei.o super.o symlink.o
19  obj-m    := $(O_TARGET)
20 Index: linux-2.4.19.SuSE/fs/ext3/super.c
21 ===================================================================
22 --- linux-2.4.19.SuSE.orig/fs/ext3/super.c      2004-04-29 16:18:08.000000000 -0700
23 +++ linux-2.4.19.SuSE/fs/ext3/super.c   2004-04-29 16:36:09.000000000 -0700
24 @@ -1821,7 +1821,7 @@
25         exit_ext3_xattr();
26  }
27  
28 -EXPORT_NO_SYMBOLS;
29 +EXPORT_SYMBOL(ext3_bread);
30  
31  MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
32  MODULE_DESCRIPTION("Second Extended Filesystem with journaling extensions");
33 Index: linux-2.4.19.SuSE/include/linux/fs.h
34 ===================================================================
35 --- linux-2.4.19.SuSE.orig/include/linux/fs.h   2004-04-29 16:19:41.000000000 -0700
36 +++ linux-2.4.19.SuSE/include/linux/fs.h        2004-04-29 16:36:52.000000000 -0700
37 @@ -1174,6 +1174,7 @@
38  extern struct vfsmount *kern_mount(struct file_system_type *);
39  extern int may_umount(struct vfsmount *);
40  extern long do_mount(char *, char *, char *, unsigned long, void *);
41 +struct vfsmount *do_kern_mount(const char *type, int flags, char *name, void *data);
42  extern void umount_tree(struct vfsmount *);
43  
44  #define kern_umount mntput
45 Index: linux-2.4.19.SuSE/kernel/ksyms.c
46 ===================================================================
47 --- linux-2.4.19.SuSE.orig/kernel/ksyms.c       2004-04-29 16:19:35.000000000 -0700
48 +++ linux-2.4.19.SuSE/kernel/ksyms.c    2004-04-29 16:36:09.000000000 -0700
49 @@ -330,6 +330,10 @@
50  EXPORT_SYMBOL(dcache_readdir);
51  EXPORT_SYMBOL(dcache_dir_ops);
52  
53 +/* lustre */
54 +EXPORT_SYMBOL(pagecache_lock_cacheline);
55 +EXPORT_SYMBOL(do_kern_mount);
56 +
57  /* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */
58  EXPORT_SYMBOL(default_llseek);
59  EXPORT_SYMBOL(dentry_open);