target: linux: patches: Drop initramfs startup hack
[openadk.git] / target / linux / patches / 3.16.85 / non-static.patch
bloba967703d0a1afea46858dd681671086f33eefa3c
1 diff -Nur linux-2.6.39-rc6.orig/fs/namei.c linux-2.6.39-rc6/fs/namei.c
2 --- linux-2.6.39-rc6.orig/fs/namei.c 2011-05-04 04:59:13.000000000 +0200
3 +++ linux-2.6.39-rc6/fs/namei.c 2011-05-05 11:30:14.000000000 +0200
4 @@ -1769,7 +1769,7 @@
5 * needs parent already locked. Doesn't follow mounts.
6 * SMP-safe.
7 */
8 -static struct dentry *lookup_hash(struct nameidata *nd)
9 +struct dentry *lookup_hash(struct nameidata *nd)
11 return __lookup_hash(&nd->last, nd->path.dentry, nd);
13 diff -Nur linux-2.6.39-rc6.orig/fs/splice.c linux-2.6.39-rc6/fs/splice.c
14 --- linux-2.6.39-rc6.orig/fs/splice.c 2011-05-04 04:59:13.000000000 +0200
15 +++ linux-2.6.39-rc6/fs/splice.c 2011-05-05 11:31:04.000000000 +0200
16 @@ -1081,7 +1081,7 @@
18 * Attempt to initiate a splice from pipe to file.
20 -static long do_splice_from(struct pipe_inode_info *pipe, struct file *out,
21 +long do_splice_from(struct pipe_inode_info *pipe, struct file *out,
22 loff_t *ppos, size_t len, unsigned int flags)
24 ssize_t (*splice_write)(struct pipe_inode_info *, struct file *,
25 @@ -1109,7 +1109,7 @@
27 * Attempt to initiate a splice from a file to a pipe.
29 -static long do_splice_to(struct file *in, loff_t *ppos,
30 +long do_splice_to(struct file *in, loff_t *ppos,
31 struct pipe_inode_info *pipe, size_t len,
32 unsigned int flags)