> @@ -2065,6 +2065,8 @@ vfs_mountedon(struct vnode *vp) > struct vnode *vq; > int error = 0; > > + if (vp->v_type != VBLK && vp->v_type != VCHR) > + return (ENXIO); i think it's better to do: if (vp->v_type != VBLK) { return ENOBLK; } or even panic(). YAMAMOTO Takashi