summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_common.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-10-03 12:18:29 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-10-03 12:18:29 +0000
commit3b6fb88590bce72fcdbf17c09a593f5efb7bff24 (patch)
treef95a6bb13e249a22422668c68d40767ae08b9eaf /sys/nfs/nfs_common.c
parenta2e6dbb39d4518777780673f72c6b1e1a13d395a (diff)
Notes
Diffstat (limited to 'sys/nfs/nfs_common.c')
-rw-r--r--sys/nfs/nfs_common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/nfs/nfs_common.c b/sys/nfs/nfs_common.c
index 7fd9d9ddfa0f..b62b21d31326 100644
--- a/sys/nfs/nfs_common.c
+++ b/sys/nfs/nfs_common.c
@@ -1510,7 +1510,6 @@ nfs_namei(ndp, fhp, len, slp, nam, mdp, dposp, retdirp, p, kerbflag, pubflag)
tocp = cnp->cn_pnbuf;
md = *mdp;
rem = mtod(md, caddr_t) + md->m_len - fromcp;
- cnp->cn_hash = 0;
for (i = 0; i < len; i++) {
while (rem == 0) {
md = md->m_next;
@@ -1525,7 +1524,6 @@ nfs_namei(ndp, fhp, len, slp, nam, mdp, dposp, retdirp, p, kerbflag, pubflag)
error = EACCES;
goto out;
}
- cnp->cn_hash += (unsigned char)*fromcp;
*tocp++ = *fromcp++;
rem--;
}