svn commit: r188751 - head/sys/nfsclient
John Baldwin
jhb at FreeBSD.org
Wed Feb 18 08:34:14 PST 2009
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)
More information about the svn-src-head
mailing list