Whamcloud - gitweb
- missed patches from suse-2.4.21-2 series added
[fs/lustre-release.git] / lustre / kernel_patches / patches / exports_2.4.19-pre1.patch
1
2
3
4  fs/ext3/Makefile   |    4 +++-
5  fs/ext3/super.c    |    2 +-
6  include/linux/fs.h |    1 +
7  kernel/ksyms.c     |    5 +++++
8  4 files changed, 10 insertions(+), 2 deletions(-)
9
10 Index: linux-2.4.19-pre1/fs/ext3/Makefile
11 ===================================================================
12 --- linux-2.4.19-pre1.orig/fs/ext3/Makefile     2003-11-21 02:39:49.000000000 +0300
13 +++ linux-2.4.19-pre1/fs/ext3/Makefile  2003-11-21 02:41:04.000000000 +0300
14 @@ -9,6 +9,8 @@
15  
16  O_TARGET := ext3.o
17  
18 +export-objs := super.o inode.o
19 +
20  obj-y    := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
21                 ioctl.o namei.o super.o symlink.o
22  obj-m    := $(O_TARGET)
23 Index: linux-2.4.19-pre1/fs/ext3/super.c
24 ===================================================================
25 --- linux-2.4.19-pre1.orig/fs/ext3/super.c      2003-11-21 02:39:49.000000000 +0300
26 +++ linux-2.4.19-pre1/fs/ext3/super.c   2003-11-21 02:41:04.000000000 +0300
27 @@ -1744,7 +1744,7 @@
28         unregister_filesystem(&ext3_fs_type);
29  }
30  
31 -EXPORT_NO_SYMBOLS;
32 +EXPORT_SYMBOL(ext3_bread);
33  
34  MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
35  MODULE_DESCRIPTION("Second Extended Filesystem with journaling extensions");
36 Index: linux-2.4.19-pre1/include/linux/fs.h
37 ===================================================================
38 --- linux-2.4.19-pre1.orig/include/linux/fs.h   2003-11-21 02:39:49.000000000 +0300
39 +++ linux-2.4.19-pre1/include/linux/fs.h        2003-11-21 02:41:41.000000000 +0300
40 @@ -984,6 +984,7 @@
41  extern struct vfsmount *kern_mount(struct file_system_type *);
42  extern int may_umount(struct vfsmount *);
43  extern long do_mount(char *, char *, char *, unsigned long, void *);
44 +struct vfsmount *do_kern_mount(char *type, int flags, char *name, void *data);
45  
46  #define kern_umount mntput
47  
48 Index: linux-2.4.19-pre1/kernel/ksyms.c
49 ===================================================================
50 --- linux-2.4.19-pre1.orig/kernel/ksyms.c       2003-11-21 02:39:49.000000000 +0300
51 +++ linux-2.4.19-pre1/kernel/ksyms.c    2003-11-21 02:41:04.000000000 +0300
52 @@ -271,6 +271,10 @@
53  EXPORT_SYMBOL(lock_may_write);
54  EXPORT_SYMBOL(dcache_readdir);
55  
56 +/* lustre */
57 +EXPORT_SYMBOL(panic_notifier_list);
58 +EXPORT_SYMBOL(do_kern_mount);
59 +
60  /* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */
61  EXPORT_SYMBOL(default_llseek);
62  EXPORT_SYMBOL(dentry_open);