From owner-cvs-all@FreeBSD.ORG Fri Jun 18 14:35:33 2004 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 86C2416A4CE; Fri, 18 Jun 2004 14:35:33 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6867F43D53; Fri, 18 Jun 2004 14:35:33 +0000 (GMT) (envelope-from kuriyama@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5IEZHtj051383; Fri, 18 Jun 2004 14:35:17 GMT (envelope-from kuriyama@repoman.freebsd.org) Received: (from kuriyama@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5IEZH54051382; Fri, 18 Jun 2004 14:35:17 GMT (envelope-from kuriyama) Message-Id: <200406181435.i5IEZH54051382@repoman.freebsd.org> From: Jun Kuriyama Date: Fri, 18 Jun 2004 14:35:17 +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/ffs ffs_snapshot.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: Fri, 18 Jun 2004 14:35:33 -0000 kuriyama 2004-06-18 14:35:17 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: Avoid deadlock which is caused by locking VDIR of parent and VREG of snapshot itself in wrong order. We can skip unlink check of that directory because it must have snapshot in it. Reviewed by: mckusick and current@ Revision Changes Path 1.82 +9 -0 src/sys/ufs/ffs/ffs_snapshot.c