]> git.pld-linux.org Git - packages/kernel.git/blame - kernel-export_symbols-2.6.20-vanilla.patch
- updated for 2.6.22.19
[packages/kernel.git] / kernel-export_symbols-2.6.20-vanilla.patch
CommitLineData
c80d6cf3 1Index: linux-2.6.20.3/fs/filesystems.c
2===================================================================
3--- linux-2.6.20.3.orig/fs/filesystems.c 2007-08-15 20:12:11.000000000 +0200
4+++ linux-2.6.20.3/fs/filesystems.c 2007-08-15 20:12:26.000000000 +0200
5@@ -29,7 +29,9 @@
6 */
7
8 static struct file_system_type *file_systems;
9-static DEFINE_RWLOCK(file_systems_lock);
10+DEFINE_RWLOCK(file_systems_lock);
11+
12+EXPORT_SYMBOL(file_systems_lock);
13
14 /* WARNING: This can be used only if we _already_ own a reference */
15 void get_filesystem(struct file_system_type *fs)
16Index: linux-2.6.20.3/include/linux/fs.h
17===================================================================
18--- linux-2.6.20.3.orig/include/linux/fs.h 2007-08-15 20:12:12.000000000 +0200
19+++ linux-2.6.20.3/include/linux/fs.h 2007-08-15 20:15:06.000000000 +0200
20@@ -1813,6 +1813,7 @@
21
22 extern const struct file_operations generic_ro_fops;
23
24+extern rwlock_t file_systems_lock;
25 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
26
27 extern int vfs_readlink(struct dentry *, char __user *, int, const char *);
28Index: linux-2.6.20.3/fs/namespace.c
29===================================================================
30--- linux-2.6.20.3.orig/fs/namespace.c 2007-08-15 20:12:12.000000000 +0200
31+++ linux-2.6.20.3/fs/namespace.c 2007-08-15 20:12:26.000000000 +0200
32@@ -1627,6 +1627,7 @@
33 mntput(old_pwdmnt);
34 }
35 }
36+EXPORT_SYMBOL(set_fs_pwd);
37
38 static void chroot_fs_refs(struct nameidata *old_nd, struct nameidata *new_nd)
39 {
40Index: linux-2.6.20.3/fs/dcache.c
41===================================================================
42--- linux-2.6.20.3.orig/fs/dcache.c 2007-08-15 20:12:11.000000000 +0200
43+++ linux-2.6.20.3/fs/dcache.c 2007-08-15 20:16:42.000000000 +0200
44@@ -1508,7 +1508,7 @@
45 * Update the dcache to reflect the move of a file name. Negative
46 * dcache entries should not be moved in this way.
47 */
48-static void d_move_locked(struct dentry * dentry, struct dentry * target)
49+void d_move_locked(struct dentry * dentry, struct dentry * target)
50 {
51 struct hlist_head *list;
52
53@@ -1567,6 +1567,8 @@
54 write_sequnlock(&rename_lock);
55 }
56
57+EXPORT_SYMBOL(d_move_locked);
58+
59 /**
60 * d_move - move a dentry
61 * @dentry: entry to move
62@@ -1966,6 +1968,7 @@
63
64 return result;
65 }
66+EXPORT_SYMBOL(is_subdir);
67
68 void d_genocide(struct dentry *root)
69 {
This page took 0.085081 seconds and 4 git commands to generate.