diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-27 04:58:50 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-27 04:58:50 +0000 |
commit | 2d089dc551efe8a4004f99b557081ea313891050 (patch) | |
tree | 015a91c1480d57159d83fa495068cb7eed8d110b /sys/nfs/nfs_bio.c | |
parent | edc9c7f6c9998a46c76c042e4ec02f6dfd1e2f8b (diff) |
Remove old vm.
Diffstat (limited to 'sys/nfs/nfs_bio.c')
-rw-r--r-- | sys/nfs/nfs_bio.c | 10 |
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 } /* |