From 226c9ab14ced26c750021fc351c2e693054230dd Mon Sep 17 00:00:00 2001 From: braam Date: Mon, 20 Jan 2003 04:20:56 +0000 Subject: [PATCH] - kernel patches for vanilla 2.4.19, 2.4.19-hp2-2 (not tested much) - tiny fix to dcache.c --- lustre/kernel_patches/patches/exports.patch | 32 ++++++++++++++----------- lustre/kernel_patches/pc/kmem_cache_validate.pc | 1 - 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/lustre/kernel_patches/patches/exports.patch b/lustre/kernel_patches/patches/exports.patch index cdf72f0..716c156 100644 --- a/lustre/kernel_patches/patches/exports.patch +++ b/lustre/kernel_patches/patches/exports.patch @@ -1,10 +1,14 @@ - 0 files changed + fs/ext3/Makefile | 2 ++ + fs/ext3/super.c | 2 +- + include/linux/fs.h | 1 + + kernel/ksyms.c | 5 +++++ + 4 files changed, 9 insertions(+), 1 deletion(-) ---- linux-2.4.18-17.8.0/fs/ext3/Makefile~exports 2002-12-06 14:52:29.000000000 -0800 -+++ linux-2.4.18-17.8.0-zab/fs/ext3/Makefile 2002-12-06 14:52:29.000000000 -0800 +--- linux-2.4.19-hp2_pnnl2/fs/ext3/Makefile~exports Sun Jan 19 18:52:38 2003 ++++ linux-2.4.19-hp2_pnnl2-root/fs/ext3/Makefile Sun Jan 19 18:52:38 2003 @@ -9,6 +9,8 @@ O_TARGET := ext3.o @@ -14,9 +18,9 @@ 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-2.4.18-17.8.0/fs/ext3/super.c~exports 2002-12-06 14:52:29.000000000 -0800 -+++ linux-2.4.18-17.8.0-zab/fs/ext3/super.c 2002-12-06 14:52:29.000000000 -0800 -@@ -1746,7 +1746,7 @@ static void __exit exit_ext3_fs(void) +--- linux-2.4.19-hp2_pnnl2/fs/ext3/super.c~exports Sun Jan 19 18:52:38 2003 ++++ linux-2.4.19-hp2_pnnl2-root/fs/ext3/super.c Sun Jan 19 18:52:38 2003 +@@ -1744,7 +1744,7 @@ static void __exit exit_ext3_fs(void) unregister_filesystem(&ext3_fs_type); } @@ -25,9 +29,9 @@ MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others"); MODULE_DESCRIPTION("Second Extended Filesystem with journaling extensions"); ---- linux-2.4.18-17.8.0/include/linux/fs.h~exports 2002-12-06 14:52:29.000000000 -0800 -+++ linux-2.4.18-17.8.0-zab/include/linux/fs.h 2002-12-06 14:52:29.000000000 -0800 -@@ -1046,6 +1046,7 @@ extern int unregister_filesystem(struct +--- linux-2.4.19-hp2_pnnl2/include/linux/fs.h~exports Sun Jan 19 18:52:38 2003 ++++ linux-2.4.19-hp2_pnnl2-root/include/linux/fs.h Sun Jan 19 18:52:38 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 *); @@ -35,11 +39,11 @@ extern void umount_tree(struct vfsmount *); #define kern_umount mntput ---- linux-2.4.18-17.8.0/kernel/ksyms.c~exports 2002-12-06 14:52:29.000000000 -0800 -+++ linux-2.4.18-17.8.0-zab/kernel/ksyms.c 2002-12-06 14:52:29.000000000 -0800 -@@ -306,6 +306,11 @@ EXPORT_SYMBOL_GPL(buffermem_pages); - EXPORT_SYMBOL_GPL(nr_free_pages); - EXPORT_SYMBOL_GPL(page_cache_size); +--- linux-2.4.19-hp2_pnnl2/kernel/ksyms.c~exports Sun Jan 19 18:52:38 2003 ++++ linux-2.4.19-hp2_pnnl2-root/kernel/ksyms.c Sun Jan 19 18:52:38 2003 +@@ -308,6 +308,11 @@ EXPORT_SYMBOL(dcache_dir_fsync); + EXPORT_SYMBOL(dcache_readdir); + EXPORT_SYMBOL(dcache_dir_ops); +/* lustre */ +EXPORT_SYMBOL(panic_notifier_list); diff --git a/lustre/kernel_patches/pc/kmem_cache_validate.pc b/lustre/kernel_patches/pc/kmem_cache_validate.pc index 12f8816..a0a6297 100644 --- a/lustre/kernel_patches/pc/kmem_cache_validate.pc +++ b/lustre/kernel_patches/pc/kmem_cache_validate.pc @@ -2,5 +2,4 @@ arch/i386/mm/init.c arch/ia64/mm/init.c include/linux/slab.h kernel/ksyms.c -kernel/ksyms.c.validate mm/slab.c -- 1.8.3.1