Reindent a small bit of code that was not 8-space indented like the rest
of the nfs_lookup() function.
This commit is contained in:
parent
99b7f1a10b
commit
093e877818
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188751
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user