minor cache consistency fix

This commit is contained in:
cgd 1994-07-12 21:03:14 +00:00
parent f14f488a6f
commit 65855280c7

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfs_bio.c,v 1.15 1994/06/29 06:42:05 cgd Exp $ */
/* $NetBSD: nfs_bio.c,v 1.16 1994/07/12 21:03:14 cgd Exp $ */
/*
* Copyright (c) 1989, 1993
@ -416,6 +416,11 @@ nfs_write(ap)
biosize = nmp->nm_rsize;
do {
/*
* XXX make sure we aren't cached in the VM page cache
*/
(void)vnode_pager_uncache(vp);
/*
* Check for a valid write lease.
* If non-cachable, just do the rpc