1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

remove support for creating files and directories from msdosfs_mknod

This commit is contained in:
Assar Westerlund 2001-07-19 19:15:42 +00:00
parent b5ebd06eb3
commit ac01ecd9fb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79996

View File

@ -202,20 +202,7 @@ msdosfs_mknod(ap)
struct vattr *a_vap;
} */ *ap;
{
switch (ap->a_vap->va_type) {
case VDIR:
return (msdosfs_mkdir((struct vop_mkdir_args *)ap));
break;
case VREG:
return (msdosfs_create((struct vop_create_args *)ap));
break;
default:
return (EINVAL);
}
/* NOTREACHED */
return (EINVAL);
}
static int