]> 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)
commit8ee7c6aea549f516aa1a165f732ea440cbfcc387
tree268893eb3bde4dffa21004fa28c51b97545e687f
parentfd86d8180d4e5a2dc789778c99f070944a2466b8
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