1
0

non-static.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233
  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)
  10. {
  11. return __lookup_hash(&nd->last, nd->path.dentry, nd);
  12. }
  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 @@
  17. /*
  18. * Attempt to initiate a splice from pipe to file.
  19. */
  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)
  23. {
  24. ssize_t (*splice_write)(struct pipe_inode_info *, struct file *,
  25. @@ -1109,7 +1109,7 @@
  26. /*
  27. * Attempt to initiate a splice from a file to a pipe.
  28. */
  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)
  33. {