X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm47xx%2Fpatches-2.6.28%2F302-kmod-fuse-dcache-bug-fuse.patch;h=a81e76719a9cd2c5d89fb1f0129f69f3154ab6cd;hb=8bb622d02f05a475b5f6af00ec6b1045f6ca9c6b;hp=2ca57290c6c793caa4a265f99e747f28d2dcc89f;hpb=0b54fe6a540f0fc1eee3b5c85090f66e4f4cf487;p=openwrt-10.03%2F.git diff --git a/target/linux/brcm47xx/patches-2.6.28/302-kmod-fuse-dcache-bug-fuse.patch b/target/linux/brcm47xx/patches-2.6.28/302-kmod-fuse-dcache-bug-fuse.patch index 2ca57290c..a81e76719 100644 --- a/target/linux/brcm47xx/patches-2.6.28/302-kmod-fuse-dcache-bug-fuse.patch +++ b/target/linux/brcm47xx/patches-2.6.28/302-kmod-fuse-dcache-bug-fuse.patch @@ -1,7 +1,6 @@ -diff -ru linux-2.6.28.10.orig/fs/fuse/dev.c linux-2.6.28.10/fs/fuse/dev.c ---- linux-2.6.28.10.orig/fs/fuse/dev.c 2009-05-02 20:54:43.000000000 +0200 -+++ linux-2.6.28.10/fs/fuse/dev.c 2009-06-07 20:29:50.229816000 +0200 -@@ -525,6 +525,11 @@ +--- a/fs/fuse/dev.c ++++ b/fs/fuse/dev.c +@@ -525,6 +525,11 @@ static void fuse_copy_finish(struct fuse } } @@ -13,7 +12,7 @@ diff -ru linux-2.6.28.10.orig/fs/fuse/dev.c linux-2.6.28.10/fs/fuse/dev.c /* * Get another pagefull of userspace buffer, and map it to kernel * address space, and lock request -@@ -533,6 +538,9 @@ +@@ -533,6 +538,9 @@ static int fuse_copy_fill(struct fuse_co { unsigned long offset; int err; @@ -23,7 +22,7 @@ diff -ru linux-2.6.28.10.orig/fs/fuse/dev.c linux-2.6.28.10/fs/fuse/dev.c unlock_request(cs->fc, cs->req); fuse_copy_finish(cs); -@@ -544,14 +552,22 @@ +@@ -544,14 +552,22 @@ static int fuse_copy_fill(struct fuse_co cs->nr_segs --; } down_read(¤t->mm->mmap_sem); @@ -46,7 +45,7 @@ diff -ru linux-2.6.28.10.orig/fs/fuse/dev.c linux-2.6.28.10/fs/fuse/dev.c cs->buf = cs->mapaddr + offset; cs->len = min(PAGE_SIZE - offset, cs->seglen); cs->seglen -= cs->len; -@@ -565,6 +581,11 @@ +@@ -565,6 +581,11 @@ static int fuse_copy_do(struct fuse_copy { unsigned ncpy = min(*size, cs->len); if (val) { @@ -58,9 +57,8 @@ diff -ru linux-2.6.28.10.orig/fs/fuse/dev.c linux-2.6.28.10/fs/fuse/dev.c if (cs->write) memcpy(cs->buf, *val, ncpy); else -diff -ru linux-2.6.28.10.orig/fs/fuse/fuse_i.h linux-2.6.28.10/fs/fuse/fuse_i.h ---- linux-2.6.28.10.orig/fs/fuse/fuse_i.h 2009-05-02 20:54:43.000000000 +0200 -+++ linux-2.6.28.10/fs/fuse/fuse_i.h 2009-06-06 16:34:54.814468000 +0200 +--- a/fs/fuse/fuse_i.h ++++ b/fs/fuse/fuse_i.h @@ -8,6 +8,7 @@ #ifndef _FS_FUSE_I_H @@ -69,10 +67,9 @@ diff -ru linux-2.6.28.10.orig/fs/fuse/fuse_i.h linux-2.6.28.10/fs/fuse/fuse_i.h #include #include -diff -ru linux-2.6.28.10.orig/fs/fuse/inode.c linux-2.6.28.10/fs/fuse/inode.c ---- linux-2.6.28.10.orig/fs/fuse/inode.c 2009-05-02 20:54:43.000000000 +0200 -+++ linux-2.6.28.10/fs/fuse/inode.c 2009-06-07 20:33:34.156611000 +0200 -@@ -1038,6 +1038,10 @@ +--- a/fs/fuse/inode.c ++++ b/fs/fuse/inode.c +@@ -1038,6 +1038,10 @@ static int __init fuse_init(void) printk("fuse init (API version %i.%i)\n", FUSE_KERNEL_VERSION, FUSE_KERNEL_MINOR_VERSION);