Index: kern/vfs_bio.c =================================================================== RCS file: /home/dcvs/FreeBSD/src/sys/kern/vfs_bio.c,v retrieving revision 1.429 diff -u -r1.429 vfs_bio.c --- kern/vfs_bio.c 7 Mar 2004 00:37:18 -0000 1.429 +++ kern/vfs_bio.c 12 Mar 2004 10:08:34 -0000 @@ -2621,8 +2621,9 @@ if (vmio) { bp->b_flags |= B_VMIO; #if defined(VFS_BIO_DEBUG) - if (vp->v_type != VREG) - printf("getblk: vmioing file type %d???\n", vp->v_type); + if (vn_canvmio(vp) != TRUE) + printf("getblk: VMIO on vnode type %d\n", + vp->v_type); #endif VOP_GETVOBJECT(vp, &bp->b_object); } else {