/[gentoo-x86]/sys-fs/aufs2/files/aufs2-standalone-36.patch
Gentoo

Contents of /sys-fs/aufs2/files/aufs2-standalone-36.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Oct 31 14:46:12 2011 UTC (3 years, 1 month ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Version Bump, cleaned old

(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)

1 aufs2.1 standalone patch for linux-2.6.36
2
3 diff --git a/fs/file_table.c b/fs/file_table.c
4 index a04bdd8..f51588f 100644
5 --- a/fs/file_table.c
6 +++ b/fs/file_table.c
7 @@ -394,6 +394,8 @@ void file_sb_list_del(struct file *file)
8 }
9 }
10
11 +EXPORT_SYMBOL(file_sb_list_del);
12 +
13 #ifdef CONFIG_SMP
14
15 /*
16 diff --git a/fs/inode.c b/fs/inode.c
17 index 8646433..d84944d 100644
18 --- a/fs/inode.c
19 +++ b/fs/inode.c
20 @@ -83,6 +83,7 @@ static struct hlist_head *inode_hashtable __read_mostly;
21 * the i_state of an inode while it is in use..
22 */
23 DEFINE_SPINLOCK(inode_lock);
24 +EXPORT_SYMBOL(inode_lock);
25
26 /*
27 * iprune_sem provides exclusion between the kswapd or try_to_free_pages
28 diff --git a/fs/namei.c b/fs/namei.c
29 index 19d69c5..944842e 100644
30 --- a/fs/namei.c
31 +++ b/fs/namei.c
32 @@ -347,6 +347,7 @@ int deny_write_access(struct file * file)
33
34 return 0;
35 }
36 +EXPORT_SYMBOL(deny_write_access);
37
38 /**
39 * path_get - get a reference to a path
40 @@ -1168,6 +1169,7 @@ struct dentry *lookup_hash(struct nameidata *nd)
41 return ERR_PTR(err);
42 return __lookup_hash(&nd->last, nd->path.dentry, nd);
43 }
44 +EXPORT_SYMBOL(lookup_hash);
45
46 int __lookup_one_len(const char *name, struct qstr *this,
47 struct dentry *base, int len)
48 @@ -1190,6 +1192,7 @@ int __lookup_one_len(const char *name, struct qstr *this,
49 this->hash = end_name_hash(hash);
50 return 0;
51 }
52 +EXPORT_SYMBOL(__lookup_one_len);
53
54 /**
55 * lookup_one_len - filesystem helper to lookup single pathname component
56 diff --git a/fs/namespace.c b/fs/namespace.c
57 index a72eaab..36107eb 100644
58 --- a/fs/namespace.c
59 +++ b/fs/namespace.c
60 @@ -1322,6 +1322,7 @@ int iterate_mounts(int (*f)(struct vfsmount *, void *), void *arg,
61 }
62 return 0;
63 }
64 +EXPORT_SYMBOL(iterate_mounts);
65
66 static void cleanup_group_ids(struct vfsmount *mnt, struct vfsmount *end)
67 {
68 diff --git a/fs/notify/group.c b/fs/notify/group.c
69 index d309f38..f0e9568 100644
70 --- a/fs/notify/group.c
71 +++ b/fs/notify/group.c
72 @@ -22,6 +22,7 @@
73 #include <linux/srcu.h>
74 #include <linux/rculist.h>
75 #include <linux/wait.h>
76 +#include <linux/module.h>
77
78 #include <linux/fsnotify_backend.h>
79 #include "fsnotify.h"
80 @@ -70,6 +71,7 @@ void fsnotify_put_group(struct fsnotify_group *group)
81 if (atomic_dec_and_test(&group->refcnt))
82 fsnotify_destroy_group(group);
83 }
84 +EXPORT_SYMBOL(fsnotify_put_group);
85
86 /*
87 * Create a new fsnotify_group and hold a reference for the group returned.
88 @@ -102,3 +104,4 @@ struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops)
89
90 return group;
91 }
92 +EXPORT_SYMBOL(fsnotify_alloc_group);
93 diff --git a/fs/notify/mark.c b/fs/notify/mark.c
94 index 325185e..adede09 100644
95 --- a/fs/notify/mark.c
96 +++ b/fs/notify/mark.c
97 @@ -113,6 +113,7 @@ void fsnotify_put_mark(struct fsnotify_mark *mark)
98 if (atomic_dec_and_test(&mark->refcnt))
99 mark->free_mark(mark);
100 }
101 +EXPORT_SYMBOL(fsnotify_put_mark);
102
103 /*
104 * Any time a mark is getting freed we end up here.
105 @@ -190,6 +191,7 @@ void fsnotify_destroy_mark(struct fsnotify_mark *mark)
106 if (unlikely(atomic_dec_and_test(&group->num_marks)))
107 fsnotify_final_destroy_group(group);
108 }
109 +EXPORT_SYMBOL(fsnotify_destroy_mark);
110
111 void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask)
112 {
113 @@ -277,6 +279,7 @@ err:
114
115 return ret;
116 }
117 +EXPORT_SYMBOL(fsnotify_add_mark);
118
119 /*
120 * clear any marks in a group in which mark->flags & flags is true
121 @@ -332,6 +335,7 @@ void fsnotify_init_mark(struct fsnotify_mark *mark,
122 atomic_set(&mark->refcnt, 1);
123 mark->free_mark = free_mark;
124 }
125 +EXPORT_SYMBOL(fsnotify_init_mark);
126
127 static int fsnotify_mark_destroy(void *ignored)
128 {
129 diff --git a/fs/open.c b/fs/open.c
130 index d74e198..53ef25e 100644
131 --- a/fs/open.c
132 +++ b/fs/open.c
133 @@ -60,6 +60,7 @@ int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs,
134 mutex_unlock(&dentry->d_inode->i_mutex);
135 return ret;
136 }
137 +EXPORT_SYMBOL(do_truncate);
138
139 static long do_sys_truncate(const char __user *pathname, loff_t length)
140 {
141 diff --git a/fs/splice.c b/fs/splice.c
142 index 278c94f..033f7ac 100644
143 --- a/fs/splice.c
144 +++ b/fs/splice.c
145 @@ -1116,6 +1116,7 @@ long do_splice_from(struct pipe_inode_info *pipe, struct file *out,
146
147 return splice_write(pipe, out, ppos, len, flags);
148 }
149 +EXPORT_SYMBOL(do_splice_from);
150
151 /*
152 * Attempt to initiate a splice from a file to a pipe.
153 @@ -1142,6 +1143,7 @@ long do_splice_to(struct file *in, loff_t *ppos,
154
155 return splice_read(in, ppos, pipe, len, flags);
156 }
157 +EXPORT_SYMBOL(do_splice_to);
158
159 /**
160 * splice_direct_to_actor - splices data directly between two non-pipes
161 diff --git a/security/commoncap.c b/security/commoncap.c
162 index 9d172e6..8a61084 100644
163 --- a/security/commoncap.c
164 +++ b/security/commoncap.c
165 @@ -951,3 +951,4 @@ int cap_file_mmap(struct file *file, unsigned long reqprot,
166 }
167 return ret;
168 }
169 +EXPORT_SYMBOL(cap_file_mmap);
170 diff --git a/security/device_cgroup.c b/security/device_cgroup.c
171 index 8d9c48f..29108aa 100644
172 --- a/security/device_cgroup.c
173 +++ b/security/device_cgroup.c
174 @@ -515,6 +515,7 @@ found:
175
176 return -EPERM;
177 }
178 +EXPORT_SYMBOL(devcgroup_inode_permission);
179
180 int devcgroup_inode_mknod(int mode, dev_t dev)
181 {
182 diff --git a/security/security.c b/security/security.c
183 index c53949f..0ae5b91 100644
184 --- a/security/security.c
185 +++ b/security/security.c
186 @@ -376,6 +376,7 @@ int security_path_mkdir(struct path *dir, struct dentry *dentry, int mode)
187 return 0;
188 return security_ops->path_mkdir(dir, dentry, mode);
189 }
190 +EXPORT_SYMBOL(security_path_mkdir);
191
192 int security_path_rmdir(struct path *dir, struct dentry *dentry)
193 {
194 @@ -383,6 +384,7 @@ int security_path_rmdir(struct path *dir, struct dentry *dentry)
195 return 0;
196 return security_ops->path_rmdir(dir, dentry);
197 }
198 +EXPORT_SYMBOL(security_path_rmdir);
199
200 int security_path_unlink(struct path *dir, struct dentry *dentry)
201 {
202 @@ -390,6 +392,7 @@ int security_path_unlink(struct path *dir, struct dentry *dentry)
203 return 0;
204 return security_ops->path_unlink(dir, dentry);
205 }
206 +EXPORT_SYMBOL(security_path_unlink);
207
208 int security_path_symlink(struct path *dir, struct dentry *dentry,
209 const char *old_name)
210 @@ -398,6 +401,7 @@ int security_path_symlink(struct path *dir, struct dentry *dentry,
211 return 0;
212 return security_ops->path_symlink(dir, dentry, old_name);
213 }
214 +EXPORT_SYMBOL(security_path_symlink);
215
216 int security_path_link(struct dentry *old_dentry, struct path *new_dir,
217 struct dentry *new_dentry)
218 @@ -406,6 +410,7 @@ int security_path_link(struct dentry *old_dentry, struct path *new_dir,
219 return 0;
220 return security_ops->path_link(old_dentry, new_dir, new_dentry);
221 }
222 +EXPORT_SYMBOL(security_path_link);
223
224 int security_path_rename(struct path *old_dir, struct dentry *old_dentry,
225 struct path *new_dir, struct dentry *new_dentry)
226 @@ -416,6 +421,7 @@ int security_path_rename(struct path *old_dir, struct dentry *old_dentry,
227 return security_ops->path_rename(old_dir, old_dentry, new_dir,
228 new_dentry);
229 }
230 +EXPORT_SYMBOL(security_path_rename);
231
232 int security_path_truncate(struct path *path)
233 {
234 @@ -423,6 +429,7 @@ int security_path_truncate(struct path *path)
235 return 0;
236 return security_ops->path_truncate(path);
237 }
238 +EXPORT_SYMBOL(security_path_truncate);
239
240 int security_path_chmod(struct dentry *dentry, struct vfsmount *mnt,
241 mode_t mode)
242 @@ -431,6 +438,7 @@ int security_path_chmod(struct dentry *dentry, struct vfsmount *mnt,
243 return 0;
244 return security_ops->path_chmod(dentry, mnt, mode);
245 }
246 +EXPORT_SYMBOL(security_path_chmod);
247
248 int security_path_chown(struct path *path, uid_t uid, gid_t gid)
249 {
250 @@ -438,6 +446,7 @@ int security_path_chown(struct path *path, uid_t uid, gid_t gid)
251 return 0;
252 return security_ops->path_chown(path, uid, gid);
253 }
254 +EXPORT_SYMBOL(security_path_chown);
255
256 int security_path_chroot(struct path *path)
257 {
258 @@ -514,6 +523,7 @@ int security_inode_readlink(struct dentry *dentry)
259 return 0;
260 return security_ops->inode_readlink(dentry);
261 }
262 +EXPORT_SYMBOL(security_inode_readlink);
263
264 int security_inode_follow_link(struct dentry *dentry, struct nameidata *nd)
265 {
266 @@ -528,6 +538,7 @@ int security_inode_permission(struct inode *inode, int mask)
267 return 0;
268 return security_ops->inode_permission(inode, mask);
269 }
270 +EXPORT_SYMBOL(security_inode_permission);
271
272 int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
273 {
274 @@ -627,6 +638,7 @@ int security_file_permission(struct file *file, int mask)
275
276 return fsnotify_perm(file, mask);
277 }
278 +EXPORT_SYMBOL(security_file_permission);
279
280 int security_file_alloc(struct file *file)
281 {
282 @@ -654,6 +666,7 @@ int security_file_mmap(struct file *file, unsigned long reqprot,
283 return ret;
284 return ima_file_mmap(file, prot);
285 }
286 +EXPORT_SYMBOL(security_file_mmap);
287
288 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot,
289 unsigned long prot)

  ViewVC Help
Powered by ViewVC 1.1.20