From owner-cvs-all Mon Sep 20 9:19:32 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6596615194; Mon, 20 Sep 1999 09:19:25 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA24480; Mon, 20 Sep 1999 09:19:24 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Message-Id: <199909201619.JAA24480@freefall.freebsd.org> From: Matt Dillon Date: Mon, 20 Sep 1999 09:19:24 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_bio.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dillon 1999/09/20 09:19:24 PDT Modified files: sys/kern vfs_bio.c Log: Fix bug in brelse() regarding redirtying buffers on B_ERROR. brelse() improperly ignored the B_INVAL flag when acting on the B_ERROR. If both B_INVAL and B_ERROR are set the buffer is typically out of the underlying device's block range and must be destroyed. If only B_ERROR is set (for a write), a write error occured and operation remains as it was before: the buffer must be redirtied to avoid corrupting the filesystem state. Reviewed by: David Greenman Submitted by: Tor.Egge@fast.no Revision Changes Path 1.229 +6 -4 src/sys/kern/vfs_bio.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message