diff options
author | Tony Battersby | 2018-07-11 16:46:03 +0200 |
---|---|---|
committer | Jens Axboe | 2018-07-11 16:48:28 +0200 |
commit | 70dbcc2254fa2a9add74a122b9dac954c4736e01 (patch) | |
tree | d68a78ec09666e1e9e142a4bc587c18059674a4f /Documentation/media/index.rst | |
parent | loop: Add LOOP_SET_BLOCK_SIZE in compat ioctl (diff) | |
download | kernel-qcow2-linux-70dbcc2254fa2a9add74a122b9dac954c4736e01.tar.gz kernel-qcow2-linux-70dbcc2254fa2a9add74a122b9dac954c4736e01.tar.xz kernel-qcow2-linux-70dbcc2254fa2a9add74a122b9dac954c4736e01.zip |
bsg: fix bogus EINVAL on non-data commands
Fix a regression introduced in Linux kernel 4.17 where sending a SCSI
command that does not transfer data (such as TEST UNIT READY) via
/dev/bsg/* results in EINVAL.
Fixes: 17cb960f29c2 ("bsg: split handling of SCSI CDBs vs transport requeues")
Cc: <stable@vger.kernel.org> # 4.17+
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/media/index.rst')
0 files changed, 0 insertions, 0 deletions