From owner-cvs-src@FreeBSD.ORG Sat Dec 6 21:16:53 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4CEF16A4D8; Sat, 6 Dec 2003 21:16:53 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8B1843FBF; Sat, 6 Dec 2003 21:16:52 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hB75GqXJ026430; Sat, 6 Dec 2003 21:16:52 -0800 (PST) (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hB75Gqg5026429; Sat, 6 Dec 2003 21:16:52 -0800 (PST) (envelope-from truckman) Message-Id: <200312070516.hB75Gqg5026429@repoman.freebsd.org> From: Don Lewis Date: Sat, 6 Dec 2003 21:16:52 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2003 05:16:53 -0000 truckman 2003/12/06 21:16:52 PST FreeBSD src repository Modified files: sys/ufs/ffs ffs_vfsops.c Log: Set fs_ronly to the correct value in ffs_reload() when reloading the file system super block after fsck has repaired the file system. The value of fs_ronly was getting overwritten, which caused ffs_update() to attempt to update inode timestamps even though the file system was still mounted read-only. This fixes the "giving up on N buffers" error that is triggered by running fsck on the root file system and then rebooting without mounting the file system read-write. Revision Changes Path 1.226 +2 -0 src/sys/ufs/ffs/ffs_vfsops.c