Whamcloud - gitweb
- bring in akpm's patch management scripts and a first cut at
[fs/lustre-release.git] / lustre / kernel_patches / patches / exports.patch
1
2
3
4  0 files changed
5
6 --- linux-2.4.18-17.8.0/fs/ext3/Makefile~exports        2002-12-06 14:52:29.000000000 -0800
7 +++ linux-2.4.18-17.8.0-zab/fs/ext3/Makefile    2002-12-06 14:52:29.000000000 -0800
8 @@ -9,6 +9,8 @@
9  
10  O_TARGET := ext3.o
11  
12 +export-objs := super.o
13 +
14  obj-y    := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
15                 ioctl.o namei.o super.o symlink.o
16  obj-m    := $(O_TARGET)
17 --- linux-2.4.18-17.8.0/fs/ext3/super.c~exports 2002-12-06 14:52:29.000000000 -0800
18 +++ linux-2.4.18-17.8.0-zab/fs/ext3/super.c     2002-12-06 14:52:29.000000000 -0800
19 @@ -1746,7 +1746,7 @@ static void __exit exit_ext3_fs(void)
20         unregister_filesystem(&ext3_fs_type);
21  }
22  
23 -EXPORT_NO_SYMBOLS;
24 +EXPORT_SYMBOL(ext3_bread);
25  
26  MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
27  MODULE_DESCRIPTION("Second Extended Filesystem with journaling extensions");
28 --- linux-2.4.18-17.8.0/include/linux/fs.h~exports      2002-12-06 14:52:29.000000000 -0800
29 +++ linux-2.4.18-17.8.0-zab/include/linux/fs.h  2002-12-06 14:52:29.000000000 -0800
30 @@ -1046,6 +1046,7 @@ extern int unregister_filesystem(struct 
31  extern struct vfsmount *kern_mount(struct file_system_type *);
32  extern int may_umount(struct vfsmount *);
33  extern long do_mount(char *, char *, char *, unsigned long, void *);
34 +struct vfsmount *do_kern_mount(const char *type, int flags, char *name, void *data);
35  extern void umount_tree(struct vfsmount *);
36  
37  #define kern_umount mntput
38 --- linux-2.4.18-17.8.0/kernel/ksyms.c~exports  2002-12-06 14:52:29.000000000 -0800
39 +++ linux-2.4.18-17.8.0-zab/kernel/ksyms.c      2002-12-06 14:52:29.000000000 -0800
40 @@ -306,6 +306,11 @@ EXPORT_SYMBOL_GPL(buffermem_pages);
41  EXPORT_SYMBOL_GPL(nr_free_pages);
42  EXPORT_SYMBOL_GPL(page_cache_size);
43  
44 +/* lustre */
45 +EXPORT_SYMBOL(panic_notifier_list);
46 +EXPORT_SYMBOL(pagecache_lock_cacheline);
47 +EXPORT_SYMBOL(do_kern_mount);
48 +
49  /* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */
50  EXPORT_SYMBOL(default_llseek);
51  EXPORT_SYMBOL(dentry_open);
52
53 _