Whamcloud - gitweb
patch for Jim's 2.4.18-chaos5
[fs/lustre-release.git] / lustre / patches / patch-2.4.17
1 --- linux-2.4.17/kernel/ksyms.c.lustre  Fri Feb 22 15:26:38 2002
2 +++ linux-2.4.17/kernel/ksyms.c Fri Feb 22 15:27:44 2002
3 @@ -282,6 +282,11 @@
4  EXPORT_SYMBOL(lock_may_write);
5  EXPORT_SYMBOL(dcache_readdir);
6  
7 +/* lustre */
8 +EXPORT_SYMBOL(pagecache_lock);
9 +EXPORT_SYMBOL(do_kern_mount);
10 +
11 +
12  /* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */
13  EXPORT_SYMBOL(default_llseek);
14  EXPORT_SYMBOL(dentry_open);
15 --- linux-2.4.17/include/linux/fs.h.lustre      Fri Feb 22 15:27:53 2002
16 +++ linux-2.4.17/include/linux/fs.h     Fri Feb 22 15:28:52 2002
17 @@ -983,7 +984,7 @@
18  extern struct vfsmount *kern_mount(struct file_system_type *);
19  extern int may_umount(struct vfsmount *);
20  extern long do_mount(char *, char *, char *, unsigned long, void *);
21 -
22 +struct vfsmount *do_kern_mount(char *type, int flags, char *name, void *data);
23  #define kern_umount mntput
24  
25  extern int vfs_statfs(struct super_block *, struct statfs *);
26 --- linux-2.4.17/fs/ext3/Makefile.orig  Fri Dec 21 10:41:55 2001
27 +++ linux-2.4.17/fs/ext3/Makefile       Fri Mar 22 11:00:58 2002
28 @@ -8,6 +8,8 @@
29  # Note 2! The CFLAGS definitions are now in the main makefile...
30  
31  O_TARGET := ext3.o
32 +
33 +export-objs := super.o
34  
35  obj-y    := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
36                 ioctl.o namei.o super.o symlink.o
37 --- linux-2.4.17/fs/ext3/super.c.orig   Fri Dec 21 10:41:55 2001
38 +++ linux-2.4.17/fs/ext3/super.c        Fri Mar 22 11:00:41 2002
39 @@ -1742,7 +1742,7 @@
40         unregister_filesystem(&ext3_fs_type);
41  }
42  
43 -EXPORT_NO_SYMBOLS;
44 +EXPORT_SYMBOL(ext3_bread);
45  
46  MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
47  MODULE_DESCRIPTION("Second Extended Filesystem with journaling extensions");