Date: Fri, 20 Mar 2009 10:04:00 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r190140 - head/sys/kern Message-ID: <200903201004.n2KA40Do093037@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903201004.n2KA40Do093037>