Files
linux/block
Tony Battersby 7632f0f4f4 bsg: fix bogus EINVAL on non-data commands
commit 70dbcc2254 upstream.

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: 17cb960f29 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-17 11:48:32 +02:00
..
2018-03-21 19:25:22 -06:00
2018-04-26 09:02:01 -06:00
2018-04-26 09:02:01 -06:00