Due to continuing issues with VOP_READ/VOP_WRITE ops being called without
[dragonfly.git] / sys / vfs / isofs / cd9660 / cd9660_vfsops.c
index fab78ec..fe88b06 100644 (file)
@@ -37,7 +37,7 @@
  *
  *     @(#)cd9660_vfsops.c     8.18 (Berkeley) 5/22/95
  * $FreeBSD: src/sys/isofs/cd9660/cd9660_vfsops.c,v 1.74.2.7 2002/04/08 09:39:29 bde Exp $
- * $DragonFly: src/sys/vfs/isofs/cd9660/cd9660_vfsops.c,v 1.32 2006/04/01 21:55:13 dillon Exp $
+ * $DragonFly: src/sys/vfs/isofs/cd9660/cd9660_vfsops.c,v 1.33 2006/04/07 06:38:31 dillon Exp $
  */
 
 #include <sys/param.h>
@@ -853,6 +853,10 @@ again:
                vp->v_ops = &mp->mnt_vn_spec_ops;
                addaliasu(vp, ip->inode.iso_rdev);
                break;
+       case VREG:
+       case VDIR:
+               vinitvmio(vp, ip->i_size);
+               break;
        default:
                break;
        }