From 65855280c790260eccf65822688bea6566f854c2 Mon Sep 17 00:00:00 2001 From: cgd Date: Tue, 12 Jul 1994 21:03:14 +0000 Subject: [PATCH] minor cache consistency fix --- sys/nfs/nfs_bio.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c index 53ce9d867f3a..137e7ae5c598 100644 --- a/sys/nfs/nfs_bio.c +++ b/sys/nfs/nfs_bio.c @@ -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