tag 311634 + patch
thanks
Here's a patch that should fix the bug. I've extracted it from the
upstream 2.3.0 release.
diff -Naur fuse-2.2.1.oldone/kernel/dev.c fuse-2.2.1/kernel/dev.c
--- fuse-2.2.1.oldone/kernel/dev.c 2005-03-08 15:39:26.000000000 +0100
+++ fuse-2.2.1/kernel/dev.c 2005-06-02 14:02:54.724582278 +0200
@@ -534,7 +534,7 @@
unsigned offset = req->page_offset;
unsigned count = min(nbytes, (unsigned) PAGE_SIZE - offset);
- for (i = 0; i < req->num_pages && nbytes; i++) {
+ for (i = 0; i < req->num_pages && (nbytes || zeroing); i++) {
struct page *page = req->pages[i];
int err = fuse_copy_page(cs, page, offset, count, zeroing);
if (err)
--
Kind regards,
+--------------------------------------------------------------------+
| Bas Zoetekouw | GPG key: 0644fab7 |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| [EMAIL PROTECTED], [EMAIL PROTECTED] | a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]