From 2d089dc551efe8a4004f99b557081ea313891050 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Wed, 27 Jun 2001 04:58:50 +0000 Subject: Remove old vm. --- sys/ufs/ext2fs/ext2fs_inode.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'sys/ufs/ext2fs/ext2fs_inode.c') diff --git a/sys/ufs/ext2fs/ext2fs_inode.c b/sys/ufs/ext2fs/ext2fs_inode.c index 700dc49d4a7..311b0716640 100644 --- a/sys/ufs/ext2fs/ext2fs_inode.c +++ b/sys/ufs/ext2fs/ext2fs_inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_inode.c,v 1.11 2001/06/23 02:07:51 csapuntz Exp $ */ +/* $OpenBSD: ext2fs_inode.c,v 1.12 2001/06/27 04:58:47 art Exp $ */ /* $NetBSD: ext2fs_inode.c,v 1.1 1997/06/11 09:33:56 bouyer Exp $ */ /* @@ -224,13 +224,8 @@ ext2fs_truncate(struct inode *oip, off_t length, int flags, struct ucred *cred) if (error) return (error); oip->i_e2fs_size = length; -#if defined(UVM) uvm_vnp_setsize(ovp, length); uvm_vnp_uncache(ovp); -#else - vnode_pager_setsize(ovp, (u_long)length); - (void) vnode_pager_uncache(ovp); -#endif if (aflags & B_SYNC) bwrite(bp); else @@ -259,13 +254,8 @@ ext2fs_truncate(struct inode *oip, off_t length, int flags, struct ucred *cred) return (error); oip->i_e2fs_size = length; size = fs->e2fs_bsize; -#if defined(UVM) uvm_vnp_setsize(ovp, length); uvm_vnp_uncache(ovp); -#else - vnode_pager_setsize(ovp, (u_long)length); - (void) vnode_pager_uncache(ovp); -#endif bzero((char *)bp->b_data + offset, (u_int)(size - offset)); allocbuf(bp, size); if (aflags & B_SYNC) -- cgit v1.2.3