Date: Wed, 18 Feb 2009 16:34:13 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r188751 - head/sys/nfsclient Message-ID: <200902181634.n1IGYDLs068995@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Wed Feb 18 16:34:13 2009 New Revision: 188751 URL: http://svn.freebsd.org/changeset/base/188751 Log: Reindent a small bit of code that was not 8-space indented like the rest of the nfs_lookup() function. Modified: head/sys/nfsclient/nfs_vnops.c Modified: head/sys/nfsclient/nfs_vnops.c ============================================================================== --- head/sys/nfsclient/nfs_vnops.c Wed Feb 18 16:11:39 2009 (r188750) +++ head/sys/nfsclient/nfs_vnops.c Wed Feb 18 16:34:13 2009 (r188751) @@ -897,12 +897,12 @@ nfs_lookup(struct vop_lookup_args *ap) newvp = *vpp; if (!VOP_GETATTR(newvp, &vattr, cnp->cn_cred) - && vattr.va_ctime.tv_sec == VTONFS(newvp)->n_ctime) { - nfsstats.lookupcache_hits++; - if (cnp->cn_nameiop != LOOKUP && - (flags & ISLASTCN)) - cnp->cn_flags |= SAVENAME; - return (0); + && vattr.va_ctime.tv_sec == VTONFS(newvp)->n_ctime) { + nfsstats.lookupcache_hits++; + if (cnp->cn_nameiop != LOOKUP && + (flags & ISLASTCN)) + cnp->cn_flags |= SAVENAME; + return (0); } cache_purge(newvp); if (dvp != newvp)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902181634.n1IGYDLs068995>