diff options
author | Tony Battersby <tonyb@cybernetics.com> | 2018-07-11 10:46:03 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-11 08:48:28 -0600 |
commit | 70dbcc2254fa2a9add74a122b9dac954c4736e01 (patch) | |
tree | d68a78ec09666e1e9e142a4bc587c18059674a4f /arch/arc | |
parent | 9fea4b395260175de4016b42982f45a3e6e03d0b (diff) |
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 'arch/arc')
0 files changed, 0 insertions, 0 deletions