From owner-cvs-all Fri Sep 25 21:59:48 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA20591 for cvs-all-outgoing; Fri, 25 Sep 1998 21:59:48 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA20586; Fri, 25 Sep 1998 21:59:47 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA29527; Fri, 25 Sep 1998 21:59:43 -0700 (PDT) Date: Fri, 25 Sep 1998 21:59:43 -0700 (PDT) Message-Id: <199809260459.VAA29527@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/09/25 21:59:43 PDT Modified files: sys/ufs/ffs ffs_vfsops.c Log: Fixed clean flag handling: - don't set the clean flag on unmount of an unclean filesystem that was (forcibly) mounted rw. - set the clean flag on rw -> ro update of a mounted initially-clean filesystem. - fixed some style bugs (mostly long lines). This uses the fs_flags field and FS_UNCLEAN state bit which were introduced in the softdep changes. NetBSD uses extra state bits in fs_clean. Reviewed by: luoqui Revision Changes Path 1.88 +33 -23 src/sys/ufs/ffs/ffs_vfsops.c