summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_bio.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-27 04:58:50 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-27 04:58:50 +0000
commit2d089dc551efe8a4004f99b557081ea313891050 (patch)
tree015a91c1480d57159d83fa495068cb7eed8d110b /sys/nfs/nfs_bio.c
parentedc9c7f6c9998a46c76c042e4ec02f6dfd1e2f8b (diff)
Remove old vm.
Diffstat (limited to 'sys/nfs/nfs_bio.c')
-rw-r--r--sys/nfs/nfs_bio.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c
index aab7a6d4103..20ce213fb5a 100644
--- a/sys/nfs/nfs_bio.c
+++ b/sys/nfs/nfs_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_bio.c,v 1.21 2001/06/25 05:27:54 csapuntz Exp $ */
+/* $OpenBSD: nfs_bio.c,v 1.22 2001/06/27 04:58:46 art Exp $ */
/* $NetBSD: nfs_bio.c,v 1.25.4.2 1996/07/08 20:47:04 jtc Exp $ */
/*
@@ -346,11 +346,7 @@ nfs_write(v)
/*
* XXX make sure we aren't cached in the VM page cache
*/
-#if defined(UVM)
uvm_vnp_uncache(vp);
-#else
- (void)vnode_pager_uncache(vp);
-#endif
nfsstats.biocache_writes++;
lbn = uio->uio_offset / biosize;
@@ -368,11 +364,7 @@ again:
np->n_flag |= NMODIFIED;
if (uio->uio_offset + n > np->n_size) {
np->n_size = uio->uio_offset + n;
-#if defined(UVM)
uvm_vnp_setsize(vp, (u_long)np->n_size);
-#else
- vnode_pager_setsize(vp, (u_long)np->n_size);
-#endif
}
/*