--- linux-2.4.17/kernel/ksyms.c.lustre Fri Feb 22 15:26:38 2002 +++ linux-2.4.17/kernel/ksyms.c Fri Feb 22 15:27:44 2002 @@ -282,6 +282,11 @@ EXPORT_SYMBOL(lock_may_write); EXPORT_SYMBOL(dcache_readdir); +/* lustre */ +EXPORT_SYMBOL(pagecache_lock); +EXPORT_SYMBOL(do_kern_mount); + + /* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */ EXPORT_SYMBOL(default_llseek); EXPORT_SYMBOL(dentry_open); --- linux-2.4.17/include/linux/fs.h.lustre Fri Feb 22 15:27:53 2002 +++ linux-2.4.17/include/linux/fs.h Fri Feb 22 15:28:52 2002 @@ -983,7 +984,7 @@ extern struct vfsmount *kern_mount(struct file_system_type *); extern int may_umount(struct vfsmount *); extern long do_mount(char *, char *, char *, unsigned long, void *); - +struct vfsmount *do_kern_mount(char *type, int flags, char *name, void *data); #define kern_umount mntput extern int vfs_statfs(struct super_block *, struct statfs *); --- linux-2.4.17/fs/ext3/Makefile.orig Fri Dec 21 10:41:55 2001 +++ linux-2.4.17/fs/ext3/Makefile Fri Mar 22 11:00:58 2002 @@ -8,6 +8,8 @@ # Note 2! The CFLAGS definitions are now in the main makefile... O_TARGET := ext3.o + +export-objs := super.o obj-y := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \ ioctl.o namei.o super.o symlink.o --- linux-2.4.17/fs/ext3/super.c.orig Fri Dec 21 10:41:55 2001 +++ linux-2.4.17/fs/ext3/super.c Fri Mar 22 11:00:41 2002 @@ -1742,7 +1742,7 @@ unregister_filesystem(&ext3_fs_type); } -EXPORT_NO_SYMBOLS; +EXPORT_SYMBOL(ext3_bread); MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others"); MODULE_DESCRIPTION("Second Extended Filesystem with journaling extensions");