From owner-svn-src-all@FreeBSD.ORG Fri Mar 20 10:04:00 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3E20106564A; Fri, 20 Mar 2009 10:04:00 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B24368FC0A; Fri, 20 Mar 2009 10:04:00 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2KA40pt093038; Fri, 20 Mar 2009 10:04:00 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2KA40Do093037; Fri, 20 Mar 2009 10:04:00 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <200903201004.n2KA40Do093037@svn.freebsd.org> From: Konstantin Belousov Date: Fri, 20 Mar 2009 10:04:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190140 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 20 Mar 2009 10:04:01 -0000 Author: kib Date: Fri Mar 20 10:04:00 2009 New Revision: 190140 URL: http://svn.freebsd.org/changeset/base/190140 Log: Remove unneeded braces to reduce used vertical screen space. Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c ============================================================================== --- head/sys/kern/vfs_cache.c Fri Mar 20 09:25:21 2009 (r190139) +++ head/sys/kern/vfs_cache.c Fri Mar 20 10:04:00 2009 (r190140) @@ -957,9 +957,8 @@ vn_fullpath1(struct thread *td, struct v vp = ncp->nc_dvp; } else { error = vn_vptocnp(&vp, &bp, buf, &buflen); - if (error) { + if (error) return (error); - } } *--bp = '/'; buflen--; @@ -1022,9 +1021,8 @@ vn_fullpath1(struct thread *td, struct v numfullpathfail4++; CACHE_RUNLOCK(); return (ENOMEM); - } else { + } else *--bp = '/'; - } } numfullpathfound++; CACHE_RUNLOCK();