commit | ab8bc5417d8cf62a5fc515737b391689573e7fb3 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Mon Dec 09 16:33:16 2019 +0100 |
committer | Arnd Bergmann <arnd@arndb.de> | Fri Jan 03 09:33:11 2020 +0100 |
tree | 4101c5e66210bb085e2deae013e12998d7f370e0 | |
parent | 8f8f562038c188046d683e2b650f7731739869dd [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>