Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2009 09:10:38 GMT
From:      Andrei Lavreniyuk <andy.lavr@reactor-xg.kiev.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/135621: [PATCH] ports/sysutils/fusefs-kmod
Message-ID:  <200906160910.n5G9AccI045397@www.freebsd.org>
Resent-Message-ID: <200906160920.n5G9K1H0046989@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135621
>Category:       ports
>Synopsis:       [PATCH] ports/sysutils/fusefs-kmod
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 16 09:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Andrei Lavreniyuk
>Release:        FreeBSD 8.0-CURRENT
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD datacenter.technica-03.local 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Jun 14 14:40:28 EEST 2009     root@datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64  amd64
>Description:

 Kernel module fuse.ko no work. System halted. 
>How-To-Repeat:

 Starting gimp (compiled whith fuse). System halted... :(

 Starting thunderbird + add attachment and new mail. System halted... :(

 
>Fix:
--- fuse_io.c.orig      2009-06-16 11:53:16.000000000 +0300
+++ fuse_io.c   2009-06-16 08:21:35.000000000 +0300
@@ -749,7 +749,7 @@
                                bp->b_dirtyoff = on;
                                bp->b_dirtyend = on + n;
                        }
-                       vfs_bio_set_validclean(bp, on, n);
+                       vfs_bio_set_valid(bp, on, n);
                }

                bwrite(bp);


Patch attached with submission follows:

--- fuse_io.c.orig	2009-06-16 11:53:16.000000000 +0300
+++ fuse_io.c	2009-06-16 08:21:35.000000000 +0300
@@ -749,7 +749,7 @@
 				bp->b_dirtyoff = on;
 				bp->b_dirtyend = on + n;
 			}
-			vfs_bio_set_validclean(bp, on, n);
+			vfs_bio_set_valid(bp, on, n);
 		}
 
 		bwrite(bp);


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906160910.n5G9AccI045397>