diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-03-15 17:13:06 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-01-03 09:33:21 +0100 |
commit | fe0da4e5e8c661663297315da0fa47532ca5f362 (patch) | |
tree | 2c146ba416fb1660db81e8e900fb49fb59b1b8bc /README | |
parent | 7eafd1373b6a389b9859660e0d9c6d23a3c8aee5 (diff) | |
download | linux-fe0da4e5e8c661663297315da0fa47532ca5f362.tar.bz2 |
compat_ioctl: bsg: add handler
bsg_ioctl() calls into scsi_cmd_ioctl() for a couple of generic commands
and relies on fs/compat_ioctl.c to handle it correctly in compat mode.
Adding a private compat_ioctl() handler avoids that round-trip and lets
us get rid of the generic emulation once this is done.
Note that bsg implements an SG_IO command that is different from the
other drivers and does not need emulation.
Reviewed-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions