From owner-cvs-all@FreeBSD.ORG Thu Oct 26 13:20:29 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 A39D216A415; Thu, 26 Oct 2006 13:20:29 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6096743D45; Thu, 26 Oct 2006 13:20:29 +0000 (GMT) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9QDKT7n087248; Thu, 26 Oct 2006 13:20:29 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9QDKT0r087247; Thu, 26 Oct 2006 13:20:29 GMT (envelope-from kib) Message-Id: <200610261320.k9QDKT0r087247@repoman.freebsd.org> From: Konstantin Belousov Date: Thu, 26 Oct 2006 13:20:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern vfs_syscalls.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 26 Oct 2006 13:20:29 -0000 kib 2006-10-26 13:20:29 UTC FreeBSD src repository Modified files: sys/kern vfs_syscalls.c Log: The attempt to rename "." with MAC framework compiled in would cause attempt to twice unlock the vnode. Check that ni_vp and ni_dvp are different before doing second unlock. Reviewed by: rwatson Approved by: pjd (mentor) MFC after: 1 week Revision Changes Path 1.427 +2 -1 src/sys/kern/vfs_syscalls.c