summaryrefslogtreecommitdiff
path: root/drivers/block/sunvdc.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-12-09 18:33:16 +0300
committerArnd Bergmann <arnd@arndb.de>2020-01-03 11:33:11 +0300
commitab8bc5417d8cf62a5fc515737b391689573e7fb3 (patch)
tree4101c5e66210bb085e2deae013e12998d7f370e0 /drivers/block/sunvdc.c
parent8f8f562038c188046d683e2b650f7731739869dd (diff)
downloadlinux-ab8bc5417d8cf62a5fc515737b391689573e7fb3.tar.xz
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/sunvdc.c')
0 files changed, 0 insertions, 0 deletions