From owner-cvs-all Fri Feb 1 17:42:55 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E717237B416; Fri, 1 Feb 2002 17:42:44 -0800 (PST) Received: (from mckusick@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g121gia66437; Fri, 1 Feb 2002 17:42:44 -0800 (PST) (envelope-from mckusick) Message-Id: <200202020142.g121gia66437@freefall.freebsd.org> From: Kirk McKusick Date: Fri, 1 Feb 2002 17:42:44 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_extern.h ffs_inode.c ffs_snapshot.c ffs_softdep.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mckusick 2002/02/01 17:42:44 PST Modified files: sys/ufs/ffs ffs_alloc.c ffs_balloc.c ffs_extern.h ffs_inode.c ffs_snapshot.c ffs_softdep.c Log: When taking a snapshot, we must check for active files that have been unlinked (e.g., with a zero link count). We have to expunge all trace of these files from the snapshot so that they are neither reclaimed prematurely by fsck nor saved unnecessarily by dump. Revision Changes Path 1.86 +74 -65 src/sys/ufs/ffs/ffs_alloc.c 1.33 +2 -2 src/sys/ufs/ffs/ffs_balloc.c 1.45 +5 -3 src/sys/ufs/ffs/ffs_extern.h 1.76 +6 -4 src/sys/ufs/ffs/ffs_inode.c 1.27 +215 -161 src/sys/ufs/ffs/ffs_snapshot.c 1.106 +34 -37 src/sys/ufs/ffs/ffs_softdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message