for (vfspp = &vfsconf, vfsp = vfsconf; vfsp; vfspp = &vfsp->vfc_next, vfsp = vfsp->vfc_next) if (strncmp(vfsp->vfc_name, args->lkm_vfsops->vfs_name, MFSNAMELEN) == 0)
for (vfspp = &vfsconf, vfsp = vfsconf; vfsp; vfspp = &vfsp->vfc_next, vfsp = vfsp->vfc_next) if (strncmp(vfsp->vfc_name, args->lkm_name, MFSNAMELEN) == 0)
_lkm_vfs(lkmtp, cmd)	struct lkm_table *lkmtp;	int cmd;{	int error = 0;#if 0	struct lkm_vfs *args = lkmtp->private.lkm_vfs;	struct vfsconf *vfsp, **vfspp;#endif	switch(cmd) {	case LKM_E_LOAD:		/* don't load twice! */		if (lkmexists(lkmtp))			return (EEXIST);		return (EEXIST);#if 0		/* make sure there's no VFS in the table with this name */		for (vfspp = &vfsconf, vfsp = vfsconf; 		     vfsp; 		     vfspp = &vfsp->vfc_next, vfsp = vfsp->vfc_next)			if (strncmp(vfsp->vfc_name,				    args->lkm_vfsops->vfs_name,				    MFSNAMELEN) == 0)				return (EEXIST);				/* pick the last available empty slot */		MALLOC (vfsp, struct vfsconf *, sizeof (struct vfsconf),			M_VFS, M_WAITOK);		/* Add tot he end of the list */		*vfspp = vfsp;		/*		 * Set up file system		 */		/* FIXME (CPS): Setup new vfsconf structure */		/*		 * Call init function for this VFS...		 */	 	(*(vfsp->vfc_vfsops->vfs_init))(vfsp);		/* done! */		/* Nope - can't return this */		break;#endif	case LKM_E_UNLOAD:		break;	case LKM_E_STAT:	/* no special handling... */		break;	}	return (error);}