From owner-cvs-src@FreeBSD.ORG Wed Oct 12 14:19:00 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 927BD16A41F; Wed, 12 Oct 2005 14:19:00 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D55B643D5E; Wed, 12 Oct 2005 14:18:58 +0000 (GMT) (envelope-from rwatson@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 j9CEIwKo044920; Wed, 12 Oct 2005 14:18:58 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9CEIwZq044919; Wed, 12 Oct 2005 14:18:58 GMT (envelope-from rwatson) Message-Id: <200510121418.j9CEIwZq044919@repoman.freebsd.org> From: Robert Watson Date: Wed, 12 Oct 2005 14:18:58 +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/ufs/ufs ufs_extattr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2005 14:19:00 -0000 rwatson 2005-10-12 14:18:58 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_extattr.c Log: When performing a VOP_LOOKUP() as part of UFS1 extended attribute auto-start, set cnp.cn_lkflags to LK_EXCLUSIVE. This flag must now be set so that lockmgr knows what kind of lock to acquire, and it will panic if not specified. This resulted in a panic when using extended attributes on UFS1 as of locking work present in the 6.x branch. This is a RELENG_6_0 merge candidate. Reported by: lofi MFC after: 3 days Revision Changes Path 1.82 +1 -0 src/sys/ufs/ufs/ufs_extattr.c