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:
parent
146f96c2ce
commit
f5e6df1ed0
@ -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
|
* Copyright (c) 1989, 1993
|
||||||
@ -1796,6 +1796,7 @@ void
|
|||||||
nfs_invaldir(vp)
|
nfs_invaldir(vp)
|
||||||
register struct vnode *vp;
|
register struct vnode *vp;
|
||||||
{
|
{
|
||||||
|
#ifdef notdef /* XXX */
|
||||||
register struct nfsnode *np = VTONFS(vp);
|
register struct nfsnode *np = VTONFS(vp);
|
||||||
|
|
||||||
#ifdef DIAGNOSTIC
|
#ifdef DIAGNOSTIC
|
||||||
@ -1807,6 +1808,7 @@ nfs_invaldir(vp)
|
|||||||
np->n_cookieverf.nfsuquad[1] = 0;
|
np->n_cookieverf.nfsuquad[1] = 0;
|
||||||
if (np->n_cookies.lh_first)
|
if (np->n_cookies.lh_first)
|
||||||
np->n_cookies.lh_first->ndm_eocookie = 0;
|
np->n_cookies.lh_first->ndm_eocookie = 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user