Whamcloud - gitweb
b=3119
[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.18-18/fs/ext3/Makefile~exports    Sat Apr  5 02:51:27 2003
11 +++ linux-2.4.18-18-braam/fs/ext3/Makefile      Sat Apr  5 02:54:45 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.18-18/fs/ext3/super.c~exports     Sat Apr  5 02:51:27 2003
22 +++ linux-2.4.18-18-braam/fs/ext3/super.c       Sat Apr  5 02:54:28 2003
23 @@ -1746,7 +1746,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.18-18/include/linux/fs.h~exports  Sat Apr  5 02:51:27 2003
33 +++ linux-2.4.18-18-braam/include/linux/fs.h    Sat Apr  5 02:54:29 2003
34 @@ -1046,6 +1046,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.18-18/kernel/ksyms.c~exports      Sat Apr  5 02:51:27 2003
43 +++ linux-2.4.18-18-braam/kernel/ksyms.c        Sat Apr  5 02:54:29 2003
44 @@ -306,6 +306,11 @@ EXPORT_SYMBOL_GPL(buffermem_pages);
45  EXPORT_SYMBOL_GPL(nr_free_pages);
46  EXPORT_SYMBOL_GPL(page_cache_size);
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 _