View | Details | Raw Unified | Return to bug 12651
Collapse All | Expand All

(-)nfs_vnops.c (-1 / +1 lines)
Lines 2357-2363 Link Here
2357
				cnp->cn_hash = 0;
2357
				cnp->cn_hash = 0;
2358
				for (cp = cnp->cn_nameptr, i = 1; i <= len;
2358
				for (cp = cnp->cn_nameptr, i = 1; i <= len;
2359
				    i++, cp++)
2359
				    i++, cp++)
2360
				    cnp->cn_hash += (unsigned char)*cp * i;
2360
				    cnp->cn_hash += (unsigned char)*cp;
2361
			        cache_enter(ndp->ni_dvp, ndp->ni_vp, cnp);
2361
			        cache_enter(ndp->ni_dvp, ndp->ni_vp, cnp);
2362
			    }
2362
			    }
2363
			} else {
2363
			} else {

Return to bug 12651