From owner-freebsd-fs@FreeBSD.ORG Wed Feb 21 10:24:27 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B16BC16E9A8 for ; Wed, 21 Feb 2007 10:24:27 +0000 (UTC) (envelope-from bsdportal@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx1.freebsd.org (Postfix) with ESMTP id 6007F13C471 for ; Wed, 21 Feb 2007 10:24:27 +0000 (UTC) (envelope-from bsdportal@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so2540381wxc for ; Wed, 21 Feb 2007 02:24:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=st/5Xc6JdQPTTp1j/yd+RXbzwZE6jn2f9kJnyZhlTVswz+MwuSzAmECpLkeeba1l4TxryNUFXu1zA9c1L+LBH+k9HDahD8vFTY3fC99+2i5E39gauhNp0qVJ5T1e19ri2OeP7oDglv7JIAK5ogmO1Fclc1DpsDqXoJgKckHE8y0= Received: by 10.114.80.4 with SMTP id d4mr3710572wab.1172051730277; Wed, 21 Feb 2007 01:55:30 -0800 (PST) Received: by 10.115.17.8 with HTTP; Wed, 21 Feb 2007 01:55:30 -0800 (PST) Message-ID: <4d3557900702210155n2f57761fl6b8b4df500a1cf77@mail.gmail.com> Date: Wed, 21 Feb 2007 12:55:30 +0300 From: "Alexey Karakuts" Sender: bsdportal@gmail.com To: freebsd-fs@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: aa1222270964a61e Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: The patch delete no umount eject flash disk freebsd panic X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2007 10:24:27 -0000 #The patch delete flash disk freebsd panic #Any questions send email sys@bsdportal.ru Alexey N. Karakuts --- /sys/geom/geom_vfs.c Mon Mar 13 03:05:29 2006 +++ geom_vfs.c Wed Dec 6 19:42:46 2006 @@ -70,16 +70,9 @@ struct buf *bp; int vfslocked; - if (bip->bio_error) { - printf("g_vfs_done():"); - g_print_bio(bip); - printf("error = %d\n", bip->bio_error); - } bp = bip->bio_caller2; bp->b_error = bip->bio_error; bp->b_ioflags = bip->bio_flags; - if (bip->bio_error) - bp->b_ioflags |= BIO_ERROR; bp->b_resid = bp->b_bcount - bip->bio_completed; g_destroy_bio(bip); vfslocked = VFS_LOCK_GIANT(((struct mount *)NULL)); -- __________________________________________ Administrator BSDPORTAL.RU Alexey N. Karakuts