Changeset View
Changeset View
Standalone View
Standalone View
head/sys/compat/linux/linux_ioctl.c
Show First 20 Lines • Show All 3,625 Lines • ▼ Show 20 Lines | TAILQ_FOREACH(he, &linux_ioctl_handlers, list) { | ||||
} | } | ||||
} | } | ||||
mtx_unlock(&Giant); | mtx_unlock(&Giant); | ||||
sx_sunlock(&linux_ioctl_sx); | sx_sunlock(&linux_ioctl_sx); | ||||
fdrop(fp, td); | fdrop(fp, td); | ||||
switch (args->cmd & 0xffff) { | switch (args->cmd & 0xffff) { | ||||
case LINUX_BTRFS_IOC_CLONE: | case LINUX_BTRFS_IOC_CLONE: | ||||
case LINUX_F2FS_IOC_GET_FEATURES: | |||||
case LINUX_FS_IOC_FIEMAP: | case LINUX_FS_IOC_FIEMAP: | ||||
return (ENOTSUP); | return (ENOTSUP); | ||||
default: | default: | ||||
linux_msg(td, "%s fd=%d, cmd=0x%x ('%c',%d) is not implemented", | linux_msg(td, "%s fd=%d, cmd=0x%x ('%c',%d) is not implemented", | ||||
__func__, args->fd, args->cmd, | __func__, args->fd, args->cmd, | ||||
(int)(args->cmd & 0xff00) >> 8, (int)(args->cmd & 0xff)); | (int)(args->cmd & 0xff00) >> 8, (int)(args->cmd & 0xff)); | ||||
break; | break; | ||||
▲ Show 20 Lines • Show All 164 Lines • Show Last 20 Lines |