From owner-cvs-all@FreeBSD.ORG Wed May 18 22:18:21 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A21E516A4CE; Wed, 18 May 2005 22:18:21 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6303A43D9F; Wed, 18 May 2005 22:18:21 +0000 (GMT) (envelope-from mckusick@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j4IMILIe069578; Wed, 18 May 2005 22:18:21 GMT (envelope-from mckusick@repoman.freebsd.org) Received: (from mckusick@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4IMILFG069577; Wed, 18 May 2005 22:18:21 GMT (envelope-from mckusick) Message-Id: <200505182218.j4IMILFG069577@repoman.freebsd.org> From: Kirk McKusick Date: Wed, 18 May 2005 22:18:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ufs/ufs ufs_vnops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 22:18:21 -0000 mckusick 2005-05-18 22:18:21 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_vnops.c Log: Allow removal of empty directories with high link counts. These can occur on a filesystem running with soft updates after a crash and before a background fsck has been run. To prevent discrepancies from arising in a background fsck that may already be running, the directory is removed but its inode is not freed and is left with the residual reference count. When encountered by the background fsck it will be reclaimed. Revision Changes Path 1.269 +2 -3 src/sys/ufs/ufs/ufs_vnops.c