1 Index: linux-2.6.22.5/fs/filesystems.c
2 ===================================================================
3 --- linux-2.6.22.5.orig/fs/filesystems.c 2007-08-22 17:23:54.000000000 -0600
4 +++ linux-2.6.22.5/fs/filesystems.c 2008-02-21 00:58:18.000000000 -0700
8 static struct file_system_type *file_systems;
9 -static DEFINE_RWLOCK(file_systems_lock);
10 +DEFINE_RWLOCK(file_systems_lock);
12 +EXPORT_SYMBOL(file_systems_lock);
14 /* WARNING: This can be used only if we _already_ own a reference */
15 void get_filesystem(struct file_system_type *fs)
16 Index: linux-2.6.22.5/fs/namespace.c
17 ===================================================================
18 --- linux-2.6.22.5.orig/fs/namespace.c 2007-08-22 17:23:54.000000000 -0600
19 +++ linux-2.6.22.5/fs/namespace.c 2008-02-21 00:58:18.000000000 -0700
24 +EXPORT_SYMBOL(set_fs_pwd);
26 static void chroot_fs_refs(struct nameidata *old_nd, struct nameidata *new_nd)
28 Index: linux-2.6.22.5/fs/dcache.c
29 ===================================================================
30 --- linux-2.6.22.5.orig/fs/dcache.c 2008-02-21 00:57:02.000000000 -0700
31 +++ linux-2.6.22.5/fs/dcache.c 2008-02-21 00:58:18.000000000 -0700
36 +EXPORT_SYMBOL(is_subdir);
38 void d_genocide(struct dentry *root)
40 Index: linux-2.6.22.5/include/linux/fs.h
41 ===================================================================
42 --- linux-2.6.22.5.orig/include/linux/fs.h 2008-02-21 00:56:39.000000000 -0700
43 +++ linux-2.6.22.5/include/linux/fs.h 2008-02-21 00:58:18.000000000 -0700
46 extern const struct file_operations generic_ro_fops;
48 +extern rwlock_t file_systems_lock;
49 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
51 extern int vfs_readlink(struct dentry *, char __user *, int, const char *);