]> git.baikalelectronics.ru Git - kernel.git/commit
compat_ioctl: ide: floppy: add handler
authorArnd Bergmann <arnd@arndb.de>
Fri, 15 Mar 2019 16:26:56 +0000 (17:26 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 3 Jan 2020 08:33:24 +0000 (09:33 +0100)
commitde4df3dc6a59b13d14ec92ebf5f51ef16587f6b5
tree268893eb3bde4dffa21004fa28c51b97545e687f
parentedc7398e9a25227692c6d9bd96481f6f8d27e0de
compat_ioctl: ide: floppy: add handler

Rather than relying on fs/compat_ioctl.c, this adds support
for a compat_ioctl() callback in the ide-floppy driver directly,
which lets it translate the scsi commands.

Reviewed-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/ide/ide-floppy.c
drivers/ide/ide-floppy.h
drivers/ide/ide-floppy_ioctl.c
drivers/ide/ide-gd.c
include/linux/ide.h