diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/msdosfs/msdosfs_vnops.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index 29a59ec..77d2760 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/msdosfs/msdosfs_vnops.c @@ -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 |