1 Index: linux-2.6.0-test6/fs/filesystems.c
2 ===================================================================
3 --- linux-2.6.0-test6.orig/fs/filesystems.c 2003-09-28 08:50:40.000000000 +0800
4 +++ linux-2.6.0-test6/fs/filesystems.c 2003-10-07 18:07:58.000000000 +0800
8 static struct file_system_type *file_systems;
9 -static rwlock_t file_systems_lock = RW_LOCK_UNLOCKED;
10 +rwlock_t file_systems_lock = RW_LOCK_UNLOCKED;
12 /* WARNING: This can be used only if we _already_ own a reference */
13 void get_filesystem(struct file_system_type *fs)
14 Index: linux-2.6.0-test6/include/linux/fs.h
15 ===================================================================
16 --- linux-2.6.0-test6.orig/include/linux/fs.h 2003-10-07 16:09:11.000000000 +0800
17 +++ linux-2.6.0-test6/include/linux/fs.h 2003-10-09 19:47:24.996871688 +0800
20 extern struct file_operations generic_ro_fops;
22 +extern rwlock_t file_systems_lock;
23 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
25 extern int vfs_readlink(struct dentry *, char __user *, int, const char *);
26 Index: linux-2.6.0-test6/kernel/ksyms.c
27 ===================================================================
28 --- linux-2.6.0-test6.orig/kernel/ksyms.c 2003-10-07 16:09:09.000000000 +0800
29 +++ linux-2.6.0-test6/kernel/ksyms.c 2003-10-07 18:07:58.000000000 +0800
31 EXPORT_SYMBOL(dump_oncpu);
32 EXPORT_SYMBOL(dump_function_ptr);
34 +EXPORT_SYMBOL(file_systems_lock);
35 Index: linux-2.6.0-test6/include/linux/ext2_fs_sb.h
36 ===================================================================
37 --- linux-2.6.0-test6.orig/include/linux/ext2_fs_sb.h 2003-09-28 08:50:57.000000000 +0800
38 +++ linux-2.6.0-test6/include/linux/ext2_fs_sb.h 2003-10-07 18:07:58.000000000 +0800
40 #ifndef _LINUX_EXT2_FS_SB
41 #define _LINUX_EXT2_FS_SB
45 #include <linux/blockgroup_lock.h>
46 #include <linux/percpu_counter.h>
50 * second extended-fs super-block data in memory
52 Index: linux-2.6.0-test6/include/linux/ext3_fs_sb.h
53 ===================================================================
54 --- linux-2.6.0-test6.orig/include/linux/ext3_fs_sb.h 2003-09-28 08:51:00.000000000 +0800
55 +++ linux-2.6.0-test6/include/linux/ext3_fs_sb.h 2003-10-07 18:07:58.000000000 +0800
58 #include <linux/timer.h>
59 #include <linux/wait.h>
62 #include <linux/blockgroup_lock.h>
63 #include <linux/percpu_counter.h>
68 * third extended-fs super-block data in memory