Changeset View
Changeset View
Standalone View
Standalone View
head/sys/compat/linux/linux_ioctl.c
Show First 20 Lines • Show All 3,587 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_FS_IOC_FIEMAP: | |||||
return (ENOTSUP); | return (ENOTSUP); | ||||
default: | default: | ||||
linux_msg(td, "ioctl fd=%d, cmd=0x%x ('%c',%d) is not implemented", | linux_msg(td, "ioctl fd=%d, cmd=0x%x ('%c',%d) is not implemented", | ||||
args->fd, (int)(args->cmd & 0xffff), | args->fd, (int)(args->cmd & 0xffff), | ||||
(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 134 Lines • Show Last 20 Lines |