/usr/src/kernel-patches/lustre/patches/export_symbols-2.6-rhel4.patch is in linux-patch-lustre 1.8.5+dfsg-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | Index: linux-2.6.9-5.0.3.EL/fs/filesystems.c
===================================================================
--- linux-2.6.9-5.0.3.EL.orig/fs/filesystems.c 2005-02-26 13:24:35.467813664 +0200
+++ linux-2.6.9-5.0.3.EL/fs/filesystems.c 2005-02-26 13:53:13.794588288 +0200
@@ -27,7 +27,9 @@
*/
static struct file_system_type *file_systems;
-static rwlock_t file_systems_lock = RW_LOCK_UNLOCKED;
+rwlock_t file_systems_lock = RW_LOCK_UNLOCKED;
+
+EXPORT_SYMBOL(file_systems_lock);
/* WARNING: This can be used only if we _already_ own a reference */
void get_filesystem(struct file_system_type *fs)
Index: linux-2.6.9-5.0.3.EL/include/linux/fs.h
===================================================================
--- linux-2.6.9-5.0.3.EL.orig/include/linux/fs.h 2005-02-26 13:47:37.330738568 +0200
+++ linux-2.6.9-5.0.3.EL/include/linux/fs.h 2005-02-26 13:53:13.796587984 +0200
@@ -1529,6 +1529,7 @@
extern struct file_operations generic_ro_fops;
+extern rwlock_t file_systems_lock;
#define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
extern int vfs_readlink(struct dentry *, char __user *, int, const char *);
Index: linux-2.6.9-5.0.3.EL/include/linux/ext2_fs_sb.h
===================================================================
--- linux-2.6.9-5.0.3.EL.orig/include/linux/ext2_fs_sb.h 2005-02-26 13:24:35.470813208 +0200
+++ linux-2.6.9-5.0.3.EL/include/linux/ext2_fs_sb.h 2005-02-26 13:53:13.797587832 +0200
@@ -16,9 +16,11 @@
#ifndef _LINUX_EXT2_FS_SB
#define _LINUX_EXT2_FS_SB
+#ifndef EXT_INCLUDE
+#define EXT_INCLUDE
#include <linux/blockgroup_lock.h>
#include <linux/percpu_counter.h>
-
+#endif
/*
* second extended-fs super-block data in memory
*/
Index: linux-2.6.9-5.0.3.EL/fs/namespace.c
===================================================================
--- linux-2.6.9-5.0.3.EL.orig/fs/namespace.c 2005-02-26 13:47:31.282658016 +0200
+++ linux-2.6.9-5.0.3.EL/fs/namespace.c 2005-02-26 13:53:13.803586920 +0200
@@ -1241,6 +1241,7 @@
mntput(old_pwdmnt);
}
}
+EXPORT_SYMBOL(set_fs_pwd);
static void chroot_fs_refs(struct nameidata *old_nd, struct nameidata *new_nd)
{
Index: linux-2.6.9-5.0.3.EL/kernel/exit.c
===================================================================
--- linux-2.6.9-5.0.3.EL.orig/kernel/exit.c 2005-02-26 13:47:31.300655280 +0200
+++ linux-2.6.9-5.0.3.EL/kernel/exit.c 2005-02-26 13:53:13.805586616 +0200
@@ -244,6 +244,8 @@
write_unlock_irq(&tasklist_lock);
}
+EXPORT_SYMBOL(reparent_to_init);
+
void __set_special_pids(pid_t session, pid_t pgrp)
{
struct task_struct *curr = current;
Index: linux-2.6.9-5.0.3.EL/fs/dcache.c
===================================================================
--- linux-2.6.9-5.0.3.EL.orig/fs/dcache.c 2005-02-26 13:49:04.365507272 +0200
+++ linux-2.6.9-5.0.3.EL/fs/dcache.c 2005-02-26 13:53:13.807586312 +0200
@@ -1526,6 +1526,7 @@
return result;
}
+EXPORT_SYMBOL(is_subdir);
void d_genocide(struct dentry *root)
{
|