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