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)
commitc103d6ee69f93e123dd05e7d307b099b83c0d82c
tree268893eb3bde4dffa21004fa28c51b97545e687f
parentfe0da4e5e8c661663297315da0fa47532ca5f362
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