aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/floppy.c
diff options
context:
space:
mode:
authorArnd Bergmann2019-12-09 16:33:16 +0100
committerArnd Bergmann2020-01-03 09:33:11 +0100
commitab8bc5417d8cf62a5fc515737b391689573e7fb3 (patch)
tree4101c5e66210bb085e2deae013e12998d7f370e0 /drivers/block/floppy.c
parent8f8f562038c188046d683e2b650f7731739869dd (diff)
compat_ioctl: cdrom: handle CDROM_LAST_WRITTEN
This is the only ioctl command that does not have a proper compat handler. Making the normal implementation do the right thing is actually very simply, so just do that by using an in_compat_syscall() check to avoid the special case in the pkcdvd driver. Reviewed-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/block/floppy.c')
0 files changed, 0 insertions, 0 deletions