From 1615a5cddfc0530809b2b71a55849e8086c0e847 Mon Sep 17 00:00:00 2001 From: wangdi Date: Tue, 27 May 2003 11:40:32 +0000 Subject: [PATCH] rename exports_hp_2.4.20.patch to exports_2.4.20-rh-hp.patch --- .../patches/exports_2.4.20-rh-hp.patch | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 lustre/kernel_patches/patches/exports_2.4.20-rh-hp.patch diff --git a/lustre/kernel_patches/patches/exports_2.4.20-rh-hp.patch b/lustre/kernel_patches/patches/exports_2.4.20-rh-hp.patch new file mode 100644 index 0000000..feaeec6 --- /dev/null +++ b/lustre/kernel_patches/patches/exports_2.4.20-rh-hp.patch @@ -0,0 +1,53 @@ + fs/ext3/Makefile | 2 ++ + fs/ext3/super.c | 2 +- + include/linux/fs.h | 1 + + kernel/ksyms.c | 4 ++++ + 4 files changed, 8 insertions(+), 1 deletion(-) + +--- linux/fs/ext3/Makefile~exports_2.4.20 Wed Apr 9 10:07:14 2003 ++++ linux-mmonroe/fs/ext3/Makefile Wed Apr 9 10:19:53 2003 +@@ -9,6 +9,8 @@ + + O_TARGET := ext3.o + ++export-objs := super.o inode.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 + obj-m := $(O_TARGET) +--- linux/fs/ext3/super.c~exports_2.4.20 Wed Apr 9 10:07:14 2003 ++++ linux-mmonroe/fs/ext3/super.c Wed Apr 9 10:19:53 2003 +@@ -1769,7 +1769,7 @@ static void __exit exit_ext3_fs(void) + 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"); +--- linux/include/linux/fs.h~exports_2.4.20 Wed Apr 9 10:07:14 2003 ++++ linux-mmonroe/include/linux/fs.h Wed Apr 9 10:19:53 2003 +@@ -1020,6 +1020,7 @@ extern int unregister_filesystem(struct + 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(const char *type, int flags, char *name, void *data); + + #define kern_umount mntput + +--- linux/kernel/ksyms.c~exports_2.4.20 Wed Apr 9 10:07:14 2003 ++++ linux-mmonroe/kernel/ksyms.c Wed Apr 9 10:19:53 2003 +@@ -308,6 +308,10 @@ EXPORT_SYMBOL(dcache_dir_fsync); + EXPORT_SYMBOL(dcache_readdir); + EXPORT_SYMBOL(dcache_dir_ops); + ++/* lustre */ ++EXPORT_SYMBOL(pagecache_lock_cacheline); ++EXPORT_SYMBOL(do_kern_mount); ++ + /* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */ + EXPORT_SYMBOL(default_llseek); + EXPORT_SYMBOL(dentry_open); + +_ -- 1.8.3.1