| commit | 47cec0380108be73dcea829db65431db1f3de885 | [log] [tgz] |
|---|---|---|
| author | Arnd Bergmann <arnd@arndb.de> | Fri Mar 15 17:39:44 2019 +0100 |
| committer | Arnd Bergmann <arnd@arndb.de> | Wed Apr 17 11:23:48 2019 +0200 |
| tree | 15ea8fde94c427e8bbf6a3a71e4e62908f64515f | |
| parent | d681cb8d504e66f8bc695bf5726540ead238274c [diff] |
compat_ioctl: scsi: move ioctl handling into drivers Each driver calling scsi_cmd_blk_ioctl() and/or scsi_ioctl() gets an equivalent compat_ioctl() handler that implements the same commands by calling scsi_cmd_blk_compat_ioctl()/scsi_compat_ioctl(). With this, we can remove the entries from fs/compat_ioctl.c. The new code is larger, but should be easier to maintain and keep updated with newly added commands. Signed-off-by: Arnd Bergmann <arnd@arndb.de>