aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-2.6.32/302-kmod-fuse-dcache-bug-fuse.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-02-20 19:31:13 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-02-20 19:31:13 +0000
commit046c32e6bf33d365e812ee5ea5ee0409d49f3d0d (patch)
tree531b6350a7fbbab42d4f946be37a107e3abf5604 /target/linux/brcm47xx/patches-2.6.32/302-kmod-fuse-dcache-bug-fuse.patch
parent42d947f5ba2c7596d9079a4408e5a6d69ad7c9e6 (diff)
downloadupstream-046c32e6bf33d365e812ee5ea5ee0409d49f3d0d.tar.gz
upstream-046c32e6bf33d365e812ee5ea5ee0409d49f3d0d.tar.bz2
upstream-046c32e6bf33d365e812ee5ea5ee0409d49f3d0d.zip
refresh patches
SVN-Revision: 19781
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.32/302-kmod-fuse-dcache-bug-fuse.patch')
-rw-r--r--target/linux/brcm47xx/patches-2.6.32/302-kmod-fuse-dcache-bug-fuse.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.32/302-kmod-fuse-dcache-bug-fuse.patch b/target/linux/brcm47xx/patches-2.6.32/302-kmod-fuse-dcache-bug-fuse.patch
index 79515d4449..d6c0b3ab55 100644
--- a/target/linux/brcm47xx/patches-2.6.32/302-kmod-fuse-dcache-bug-fuse.patch
+++ b/target/linux/brcm47xx/patches-2.6.32/302-kmod-fuse-dcache-bug-fuse.patch
@@ -1,6 +1,6 @@
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
-@@ -527,6 +527,11 @@ static void fuse_copy_finish(struct fuse
+@@ -533,6 +533,11 @@ static void fuse_copy_finish(struct fuse
}
}
@@ -12,7 +12,7 @@
/*
* Get another pagefull of userspace buffer, and map it to kernel
* address space, and lock request
-@@ -535,6 +540,9 @@ static int fuse_copy_fill(struct fuse_co
+@@ -541,6 +546,9 @@ static int fuse_copy_fill(struct fuse_co
{
unsigned long offset;
int err;
@@ -22,7 +22,7 @@
unlock_request(cs->fc, cs->req);
fuse_copy_finish(cs);
-@@ -546,14 +554,22 @@ static int fuse_copy_fill(struct fuse_co
+@@ -552,14 +560,22 @@ static int fuse_copy_fill(struct fuse_co
cs->nr_segs--;
}
down_read(&current->mm->mmap_sem);
@@ -45,7 +45,7 @@
cs->buf = cs->mapaddr + offset;
cs->len = min(PAGE_SIZE - offset, cs->seglen);
cs->seglen -= cs->len;
-@@ -567,6 +583,11 @@ static int fuse_copy_do(struct fuse_copy
+@@ -573,6 +589,11 @@ static int fuse_copy_do(struct fuse_copy
{
unsigned ncpy = min(*size, cs->len);
if (val) {
@@ -69,7 +69,7 @@
#include <linux/fs.h>
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
-@@ -1055,6 +1055,10 @@ static int __init fuse_init(void)
+@@ -1201,6 +1201,10 @@ static int __init fuse_init(void)
printk(KERN_INFO "fuse init (API version %i.%i)\n",
FUSE_KERNEL_VERSION, FUSE_KERNEL_MINOR_VERSION);