From 0276e0dc11ebdcd6a405e943db236c3f24ec6f40 Mon Sep 17 00:00:00 2001 From: braam Date: Tue, 31 Aug 1999 23:05:08 +0000 Subject: [PATCH] patches for the kernel code. --- lustre/patches/patch-2.2.10 | 51 +++++++++++++++++++++++++++++++++++++++++++++ lustre/patches/patch-2.3.15 | 43 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 lustre/patches/patch-2.2.10 create mode 100644 lustre/patches/patch-2.3.15 diff --git a/lustre/patches/patch-2.2.10 b/lustre/patches/patch-2.2.10 new file mode 100644 index 0000000..d4b9492 --- /dev/null +++ b/lustre/patches/patch-2.2.10 @@ -0,0 +1,51 @@ +--- linux-2.2.10/include/linux/fs.h.org Tue Aug 3 15:09:33 1999 ++++ linux-2.2.10/include/linux/fs.h Tue Aug 3 15:10:34 1999 +@@ -897,6 +897,9 @@ + #include + #include + ++struct super_block *get_empty_super(void); ++void remove_vfsmnt(kdev_t dev); ++ + #endif /* __KERNEL__ */ + + #endif +--- linux-2.2.10/fs/super.c.org Tue Aug 3 15:08:09 1999 ++++ linux-2.2.10/fs/super.c Tue Aug 3 15:10:41 1999 +@@ -135,7 +135,7 @@ + return lptr; + } + +-static void remove_vfsmnt(kdev_t dev) ++void remove_vfsmnt(kdev_t dev) + { + struct vfsmount *lptr, *tofree; + +@@ -508,7 +508,7 @@ + /* + * Find a super_block with no device assigned. + */ +-static struct super_block *get_empty_super(void) ++struct super_block *get_empty_super(void) + { + struct super_block *s; + +--- linux-2.2.10/kernel/ksyms.c Tue Aug 3 15:11:56 1999 ++++ linux-2.2.10/kernel/ksyms.c.org Tue Aug 3 15:10:55 1999 +@@ -78,16 +78,6 @@ + #endif + EXPORT_SYMBOL(get_options); + +-/* obd stuff */ +- +- +- +-EXPORT_SYMBOL(get_empty_super); +-EXPORT_SYMBOL(remove_vfsmnt); +- +- +- +- + /* process memory management */ + EXPORT_SYMBOL(do_mmap); + EXPORT_SYMBOL(do_munmap); diff --git a/lustre/patches/patch-2.3.15 b/lustre/patches/patch-2.3.15 new file mode 100644 index 0000000..ba02eb1 --- /dev/null +++ b/lustre/patches/patch-2.3.15 @@ -0,0 +1,43 @@ +--- linux-2.2.10/include/linux/fs.h.org Tue Aug 3 15:09:33 1999 ++++ linux-2.2.10/include/linux/fs.h Tue Aug 3 15:10:34 1999 +@@ -897,6 +897,9 @@ + #include + #include + ++struct super_block *get_empty_super(void); ++void remove_vfsmnt(kdev_t dev); ++ + #endif /* __KERNEL__ */ + + #endif +--- linux-2.2.10/fs/super.c.org Tue Aug 3 15:08:09 1999 ++++ linux-2.2.10/fs/super.c Tue Aug 3 15:10:41 1999 +@@ -135,7 +135,7 @@ + return lptr; + } + +-static void remove_vfsmnt(kdev_t dev) ++void remove_vfsmnt(kdev_t dev) + { + struct vfsmount *lptr, *tofree; + +@@ -508,7 +508,7 @@ + /* + * Find a super_block with no device assigned. + */ +-static struct super_block *get_empty_super(void) ++struct super_block *get_empty_super(void) + { + struct super_block *s; + +--- linux/kernel/ksyms.c.org Tue Aug 31 05:25:11 1999 ++++ linux/kernel/ksyms.c Tue Aug 31 05:31:31 1999 +@@ -114,6 +114,8 @@ + EXPORT_SYMBOL(init_mm); + + /* filesystem internal functions */ ++EXPORT_SYMBOL(get_empty_super); ++EXPORT_SYMBOL(remove_vfsmnt); + EXPORT_SYMBOL(in_group_p); + EXPORT_SYMBOL(update_atime); + EXPORT_SYMBOL(get_super); -- 1.8.3.1