summaryrefslogtreecommitdiff
path: root/sys/msdosfs
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/msdosfs
parentedc9c7f6c9998a46c76c042e4ec02f6dfd1e2f8b (diff)
Remove old vm.
Diffstat (limited to 'sys/msdosfs')
-rw-r--r--sys/msdosfs/msdosfs_denode.c10
-rw-r--r--sys/msdosfs/msdosfs_vnops.c10
2 files changed, 2 insertions, 18 deletions
diff --git a/sys/msdosfs/msdosfs_denode.c b/sys/msdosfs/msdosfs_denode.c
index 82187cbd7df..de568c62c90 100644
--- a/sys/msdosfs/msdosfs_denode.c
+++ b/sys/msdosfs/msdosfs_denode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_denode.c,v 1.17 2001/06/23 02:15:24 csapuntz Exp $ */
+/* $OpenBSD: msdosfs_denode.c,v 1.18 2001/06/27 04:58:45 art Exp $ */
/* $NetBSD: msdosfs_denode.c,v 1.23 1997/10/17 11:23:58 ws Exp $ */
/*-
@@ -408,11 +408,7 @@ detrunc(dep, length, flags, cred, p)
return (EINVAL);
}
-#if defined(UVM)
uvm_vnp_setsize(DETOV(dep), length);
-#else
- vnode_pager_setsize(DETOV(dep), length);
-#endif
if (dep->de_FileSize < length)
return (deextend(dep, length, cred));
@@ -465,11 +461,7 @@ detrunc(dep, length, flags, cred, p)
#endif
return (error);
}
-#if defined(UVM)
uvm_vnp_uncache(DETOV(dep));
-#else
- vnode_pager_uncache(DETOV(dep)); /* what's this for? */
-#endif
/*
* is this the right place for it?
*/
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c
index 6c1638b2db1..cd2ced85c87 100644
--- a/sys/msdosfs/msdosfs_vnops.c
+++ b/sys/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vnops.c,v 1.24 2001/06/23 02:15:24 csapuntz Exp $ */
+/* $OpenBSD: msdosfs_vnops.c,v 1.25 2001/06/27 04:58:45 art Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */
/*-
@@ -638,17 +638,9 @@ msdosfs_write(v)
n = min(uio->uio_resid, pmp->pm_bpcluster - croffset);
if (uio->uio_offset + n > dep->de_FileSize) {
dep->de_FileSize = uio->uio_offset + n;
-#if defined(UVM)
uvm_vnp_setsize(vp, dep->de_FileSize);
-#else
- vnode_pager_setsize(vp, dep->de_FileSize); /* why? */
-#endif
}
-#if defined(UVM)
uvm_vnp_uncache(vp);
-#else
- (void) vnode_pager_uncache(vp); /* why not? */
-#endif
/*
* Should these vnode_pager_* functions be done on dir
* files?