Whamcloud - gitweb
- merge 0.7rc1 from b_devel to HEAD (20030612 merge point)
[fs/lustre-release.git] / lustre / kernel_patches / patches / exports_2.4.20.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 --- linux-2.4.20/fs/ext3/Makefile~exports_hp    Sat Apr  5 03:55:19 2003
11 +++ linux-2.4.20-braam/fs/ext3/Makefile Sat Apr  5 03:56:03 2003
12 @@ -9,6 +9,8 @@
13  
14  O_TARGET := ext3.o
15  
16 +export-objs := super.o inode.o
17 +
18  obj-y    := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
19                 ioctl.o namei.o super.o symlink.o
20  obj-m    := $(O_TARGET)
21 --- linux-2.4.20/fs/ext3/super.c~exports_hp     Sat Apr  5 03:55:19 2003
22 +++ linux-2.4.20-braam/fs/ext3/super.c  Sat Apr  5 03:55:19 2003
23 @@ -1769,7 +1769,7 @@ static void __exit exit_ext3_fs(void)
24         unregister_filesystem(&ext3_fs_type);
25  }
26  
27 -EXPORT_NO_SYMBOLS;
28 +EXPORT_SYMBOL(ext3_bread);
29  
30  MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
31  MODULE_DESCRIPTION("Second Extended Filesystem with journaling extensions");
32 --- linux-2.4.20/include/linux/fs.h~exports_hp  Sat Apr  5 03:55:19 2003
33 +++ linux-2.4.20-braam/include/linux/fs.h       Sat Apr  5 03:55:19 2003
34 @@ -1005,6 +1005,7 @@ extern int unregister_filesystem(struct 
35  extern struct vfsmount *kern_mount(struct file_system_type *);
36  extern int may_umount(struct vfsmount *);
37  extern long do_mount(char *, char *, char *, unsigned long, void *);
38 +struct vfsmount *do_kern_mount(const char *type, int flags, char *name, void *data);
39  
40  #define kern_umount mntput
41  
42 --- linux-2.4.20/kernel/ksyms.c~exports_hp      Sat Apr  5 03:55:19 2003
43 +++ linux-2.4.20-braam/kernel/ksyms.c   Sat Apr  5 03:55:19 2003
44 @@ -284,6 +284,11 @@ EXPORT_SYMBOL(dcache_dir_fsync);
45  EXPORT_SYMBOL(dcache_readdir);
46  EXPORT_SYMBOL(dcache_dir_ops);
47  
48 +/* lustre */
49 +EXPORT_SYMBOL(pagecache_lock_cacheline);
50 +EXPORT_SYMBOL(panic_notifier_list);
51 +EXPORT_SYMBOL(do_kern_mount);
52 +
53  /* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */
54  EXPORT_SYMBOL(default_llseek);
55  EXPORT_SYMBOL(dentry_open);
56
57 _