From owner-svn-src-head@FreeBSD.ORG Sat Dec 1 08:51:40 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B12DDA6; Sat, 1 Dec 2012 08:51:40 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 8048F8FC08; Sat, 1 Dec 2012 08:51:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB18peX3067078; Sat, 1 Dec 2012 08:51:40 GMT (envelope-from pjd@svn.freebsd.org) Received: (from pjd@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB18pea1067077; Sat, 1 Dec 2012 08:51:40 GMT (envelope-from pjd@svn.freebsd.org) Message-Id: <201212010851.qB18pea1067077@svn.freebsd.org> From: Pawel Jakub Dawidek Date: Sat, 1 Dec 2012 08:51:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r243745 - head/sys/security/audit X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2012 08:51:40 -0000 Author: pjd Date: Sat Dec 1 08:51:40 2012 New Revision: 243745 URL: http://svnweb.freebsd.org/changeset/base/243745 Log: IFp4 @219811: VFS is now fully MPSAFE, fix compilation. Modified: head/sys/security/audit/audit_bsm_klib.c Modified: head/sys/security/audit/audit_bsm_klib.c ============================================================================== --- head/sys/security/audit/audit_bsm_klib.c Sat Dec 1 05:07:49 2012 (r243744) +++ head/sys/security/audit/audit_bsm_klib.c Sat Dec 1 08:51:40 2012 (r243745) @@ -468,7 +468,7 @@ audit_canon_path(struct thread *td, int char *rbuf, *fbuf, *copy; struct filedesc *fdp; struct sbuf sbf; - int error, needslash, vfslocked; + int error, needslash; WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, "%s: at %s:%d", __func__, __FILE__, __LINE__); @@ -504,9 +504,7 @@ audit_canon_path(struct thread *td, int return; } vhold(cvnp); - vfslocked = VFS_LOCK_GIANT(cvnp->v_mount); vrele(cvnp); - VFS_UNLOCK_GIANT(vfslocked); } needslash = (fdp->fd_rdir != cvnp); } else {