Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / kernel_patches / patches / exports_2.4.20-rh-hp.patch
1  fs/ext3/Makefile   |    2 ++
2  fs/ext3/super.c    |    2 +-
3  include/linux/fs.h |    1 +
4  kernel/ksyms.c     |    4 ++++
5  4 files changed, 8 insertions(+), 1 deletion(-)
6
7 --- linux/fs/ext3/Makefile~exports_2.4.20       Wed Apr  9 10:07:14 2003
8 +++ linux-mmonroe/fs/ext3/Makefile      Wed Apr  9 10:19:53 2003
9 @@ -9,6 +9,8 @@
10  
11  O_TARGET := ext3.o
12  
13 +export-objs := super.o inode.o
14 +
15  obj-y    := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
16                 ioctl.o namei.o super.o symlink.o
17  obj-m    := $(O_TARGET)
18 --- linux/fs/ext3/super.c~exports_2.4.20        Wed Apr  9 10:07:14 2003
19 +++ linux-mmonroe/fs/ext3/super.c       Wed Apr  9 10:19:53 2003
20 @@ -1769,7 +1769,7 @@ static void __exit exit_ext3_fs(void)
21         unregister_filesystem(&ext3_fs_type);
22  }
23  
24 -EXPORT_NO_SYMBOLS;
25 +EXPORT_SYMBOL(ext3_bread);
26  
27  MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
28  MODULE_DESCRIPTION("Second Extended Filesystem with journaling extensions");
29 --- linux/include/linux/fs.h~exports_2.4.20     Wed Apr  9 10:07:14 2003
30 +++ linux-mmonroe/include/linux/fs.h    Wed Apr  9 10:19:53 2003
31 @@ -1020,6 +1020,7 @@ extern int unregister_filesystem(struct 
32  extern struct vfsmount *kern_mount(struct file_system_type *);
33  extern int may_umount(struct vfsmount *);
34  extern long do_mount(char *, char *, char *, unsigned long, void *);
35 +struct vfsmount *do_kern_mount(const char *type, int flags, char *name, void *data);
36  
37  #define kern_umount mntput
38  
39 --- linux/kernel/ksyms.c~exports_2.4.20 Wed Apr  9 10:07:14 2003
40 +++ linux-mmonroe/kernel/ksyms.c        Wed Apr  9 10:19:53 2003
41 @@ -308,6 +308,10 @@ EXPORT_SYMBOL(dcache_dir_fsync);
42  EXPORT_SYMBOL(dcache_readdir);
43  EXPORT_SYMBOL(dcache_dir_ops);
44  
45 +/* lustre */
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 _