From bf556a1617e355c5cc6bd3d6636f668577816dc2 Mon Sep 17 00:00:00 2001 From: "Justin T. Gibbs" Date: Thu, 17 Nov 1994 01:22:45 +0000 Subject: [PATCH] Remove a peice of commented out code that was left over from the early stages of debugging LFS: * if we can't bmap, use old VOP code */ ! if (/* (vp->v_mount && vp->v_mount->mnt_stat.f_type == MOUNT_LFS) || */ ! VOP_BMAP(vp, foff, &dp, 0, 0)) { for (i = 0; i < count; i++) { if (i != reqpage) { vnode_pager_freepage(m[i]); --- 804,810 ---- /* * if we can't bmap, use old VOP code */ ! if (VOP_BMAP(vp, foff, &dp, 0, 0)) { Reviewed by: gibbs Submitted by: John Dyson --- sys/vm/vnode_pager.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 69e3009783c1..c5f20adb5b56 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -37,7 +37,7 @@ * SUCH DAMAGE. * * from: @(#)vnode_pager.c 7.5 (Berkeley) 4/20/91 - * $Id: vnode_pager.c,v 1.15 1994/11/06 09:55:31 davidg Exp $ + * $Id: vnode_pager.c,v 1.16 1994/11/13 22:48:55 davidg Exp $ */ /* @@ -804,8 +804,7 @@ vnode_pager_input(vnp, m, count, reqpage) /* * if we can't bmap, use old VOP code */ - if (/* (vp->v_mount && vp->v_mount->mnt_stat.f_type == MOUNT_LFS) || */ - VOP_BMAP(vp, foff, &dp, 0, 0)) { + if (VOP_BMAP(vp, foff, &dp, 0, 0)) { for (i = 0; i < count; i++) { if (i != reqpage) { vnode_pager_freepage(m[i]);