From owner-svn-src-all@FreeBSD.ORG Mon Oct 22 21:14:26 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C124721E; Mon, 22 Oct 2012 21:14:26 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A88468FC12; Mon, 22 Oct 2012 21:14:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9MLEQDP008892; Mon, 22 Oct 2012 21:14:26 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9MLEQdK008890; Mon, 22 Oct 2012 21:14:26 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201210222114.q9MLEQdK008890@svn.freebsd.org> From: Ed Schouten Date: Mon, 22 Oct 2012 21:14:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241914 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 21:14:26 -0000 Author: ed Date: Mon Oct 22 21:14:26 2012 New Revision: 241914 URL: http://svn.freebsd.org/changeset/base/241914 Log: Remove unused `vfslocked' variable. I have no idea what this `vfslocked' thing means. I wonder how it ended up here. Modified: head/sys/kern/vfs_syscalls.c Modified: head/sys/kern/vfs_syscalls.c ============================================================================== --- head/sys/kern/vfs_syscalls.c Mon Oct 22 21:09:03 2012 (r241913) +++ head/sys/kern/vfs_syscalls.c Mon Oct 22 21:14:26 2012 (r241914) @@ -4507,10 +4507,9 @@ kern_posix_fallocate(struct thread *td, struct mount *mp; struct vnode *vp; off_t olen, ooffset; - int error, vfslocked; + int error; fp = NULL; - vfslocked = 0; error = fget(td, fd, CAP_WRITE, &fp); if (error != 0) goto out;