Disable invalidating of directory offsets cookies. Should fix one or two

directory problems.

XXX There is no clean solution to the cookie/cookieverifier validity mess.
    Together with the disabled strict cookie check, this puts us back at
    what v2 did in this case. Slightly better solution possible by
    consequently storing 64bit cookies in other places too.
This commit is contained in:
fvdl 1996-03-13 00:44:17 +00:00
parent 146f96c2ce
commit f5e6df1ed0

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfs_subs.c,v 1.25 1996/02/18 11:53:51 fvdl Exp $ */
/* $NetBSD: nfs_subs.c,v 1.26 1996/03/13 00:44:17 fvdl Exp $ */
/*
* Copyright (c) 1989, 1993
@ -1796,6 +1796,7 @@ void
nfs_invaldir(vp)
register struct vnode *vp;
{
#ifdef notdef /* XXX */
register struct nfsnode *np = VTONFS(vp);
#ifdef DIAGNOSTIC
@ -1807,6 +1808,7 @@ nfs_invaldir(vp)
np->n_cookieverf.nfsuquad[1] = 0;
if (np->n_cookies.lh_first)
np->n_cookies.lh_first->ndm_eocookie = 0;
#endif
}
/*