Whamcloud - gitweb
Merge b_md into HEAD
[fs/lustre-release.git] / lustre / kernel_patches / patches / exports.patch
1
2
3
4  fs/ext3/Makefile   |    2 ++
5  fs/ext3/super.c    |    2 +-
6  include/linux/fs.h |    1 +
7  kernel/ksyms.c     |    5 +++++
8  4 files changed, 9 insertions(+), 1 deletion(-)
9
10 --- linux-2.4.19-hp2_pnnl2/fs/ext3/Makefile~exports     Sun Jan 19 18:52:38 2003
11 +++ linux-2.4.19-hp2_pnnl2-root/fs/ext3/Makefile        Sun Jan 19 18:52:38 2003
12 @@ -9,6 +9,8 @@
13  
14  O_TARGET := ext3.o
15  
16 +export-objs := super.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.19-hp2_pnnl2/fs/ext3/super.c~exports      Sun Jan 19 18:52:38 2003
22 +++ linux-2.4.19-hp2_pnnl2-root/fs/ext3/super.c Sun Jan 19 18:52:38 2003
23 @@ -1744,7 +1744,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.19-hp2_pnnl2/include/linux/fs.h~exports   Sun Jan 19 18:52:38 2003
33 +++ linux-2.4.19-hp2_pnnl2-root/include/linux/fs.h      Sun Jan 19 18:52:38 2003
34 @@ -1020,6 +1020,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  extern void umount_tree(struct vfsmount *);
40  
41  #define kern_umount mntput
42 --- linux-2.4.19-hp2_pnnl2/kernel/ksyms.c~exports       Sun Jan 19 18:52:38 2003
43 +++ linux-2.4.19-hp2_pnnl2-root/kernel/ksyms.c  Sun Jan 19 18:52:38 2003
44 @@ -308,6 +308,11 @@ EXPORT_SYMBOL(dcache_dir_fsync);
45  EXPORT_SYMBOL(dcache_readdir);
46  EXPORT_SYMBOL(dcache_dir_ops);
47  
48 +/* lustre */
49 +EXPORT_SYMBOL(panic_notifier_list);
50 +EXPORT_SYMBOL(pagecache_lock_cacheline);
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 _