Bart Van Assche
30181faae3
nfsd: Check queue type before submitting a SCSI request
...
Since using scsi_req() is only allowed against request queues for
which struct scsi_request is the first member of their private
request data, refuse to submit SCSI commands against a queue for
which this is not the case.
References: commit 82ed4db499b8 ("block: split scsi_request out of struct request")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: J. Bruce Fields <bfields@redhat.com>
Cc: Jeff Layton <jlayton@poochiereds.net>
Cc: Omar Sandoval <osandov@fb.com>
Cc: linux-nfs@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-06-01 13:10:46 -06:00
..
2017-04-20 12:09:55 -06:00
2017-05-05 15:24:52 -04:00
2017-05-02 16:40:27 -07:00
2017-03-28 16:16:52 +02:00
2017-05-05 11:35:35 +01:00
2017-05-12 15:57:15 -07:00
2017-05-10 08:33:17 -07:00
2017-03-02 08:42:31 +01:00
2017-05-24 18:10:54 +02:00
2017-05-12 20:59:10 -05:00
2017-04-20 12:09:55 -06:00
2016-12-24 11:46:01 -08:00
2017-05-04 11:44:37 -04:00
2017-04-26 23:54:06 -04:00
2017-03-09 18:23:27 -08:00
2017-04-20 12:09:55 -06:00
2016-12-24 11:46:01 -08:00
2017-05-08 17:15:14 -07:00
2017-03-03 11:38:56 -08:00
2017-05-13 17:52:16 -07:00
2017-05-13 17:52:16 -07:00
2017-05-08 18:17:56 -07:00
2017-03-09 17:01:10 -08:00
2017-03-02 10:09:00 +11:00
2017-05-20 16:12:30 -07:00
2017-05-08 17:15:15 -07:00
2017-05-08 17:15:14 -07:00
2017-05-08 17:15:14 -07:00
2016-12-09 16:45:04 +01:00
2017-03-02 08:42:32 +01:00
2017-04-13 18:24:21 -07:00
2017-03-02 08:42:31 +01:00
2017-05-10 10:30:46 -07:00
2017-04-19 11:35:55 -07:00
2017-04-19 14:21:23 +02:00
2017-03-17 10:25:59 +09:00
2017-05-10 13:29:23 -07:00
2017-03-02 20:51:15 -05:00
2017-04-20 12:09:55 -06:00
2017-05-10 13:29:23 -07:00
2016-11-18 10:59:15 -05:00
2017-06-01 13:10:46 -06:00
2017-04-20 12:09:55 -06:00
2017-04-25 15:48:06 +02:00
2017-03-02 08:42:32 +01:00
2017-05-03 15:52:07 -07:00
2017-03-02 08:42:31 +01:00
2016-12-24 11:46:01 -08:00
2017-05-05 13:36:10 -07:00
2017-05-10 09:03:48 -07:00
2017-05-09 08:45:16 -07:00
2017-05-10 19:13:03 -07:00
2017-04-19 14:21:23 +02:00
2016-12-24 11:46:01 -08:00
2017-05-08 17:15:11 -07:00
2017-01-24 16:26:14 -08:00
2017-02-24 17:46:57 -08:00
2017-04-08 17:33:32 +02:00
2017-03-02 20:51:15 -05:00
2017-04-26 23:54:06 -04:00
2017-05-13 10:23:12 -07:00
2017-04-24 16:28:02 +02:00
2017-05-08 17:15:15 -07:00
2017-05-26 12:13:08 -07:00
2017-03-03 10:16:38 -08:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:29 +01:00
2017-03-02 20:51:15 -05:00
2017-03-02 08:42:36 +01:00
2017-03-02 08:42:39 +01:00
2017-03-02 08:42:39 +01:00
2017-03-02 08:42:36 +01:00
2017-04-26 23:54:06 -04:00
2017-05-12 15:43:10 -07:00
2017-05-09 09:12:53 -07:00
2017-03-21 06:44:32 +01:00
2017-02-01 09:13:51 +01:00
2017-04-29 17:47:19 -04:00
2017-04-17 12:52:27 -04:00
2017-03-02 08:42:36 +01:00
2017-05-13 09:49:35 -07:00
2017-05-03 11:47:05 -04:00
2016-12-24 11:46:01 -08:00
2017-02-27 18:43:46 -08:00
2017-03-02 08:42:32 +01:00
2017-03-24 20:49:31 -07:00
2017-03-20 16:10:34 +01:00
2017-05-09 09:12:53 -07:00
2017-04-17 12:52:26 -04:00
2017-03-02 08:42:31 +01:00
2017-05-08 17:15:13 -07:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:35 +01:00
2017-03-13 08:27:34 -06:00
2017-05-09 09:12:53 -07:00
2017-05-09 09:12:53 -07:00
2017-03-02 08:42:37 +01:00
2017-05-08 17:15:14 -07:00
2017-05-08 10:55:27 -07:00
2016-10-24 08:12:35 -02:00
2017-04-26 23:54:06 -04:00
2017-04-21 10:45:01 -04:00
2016-12-14 23:48:11 -05:00
2016-12-03 15:55:01 -05:00
2017-04-10 17:37:35 +02:00
2017-02-27 18:43:46 -08:00
2017-05-12 11:39:59 -07:00
2017-05-12 11:39:59 -07:00
2017-05-08 17:15:12 -07:00
2017-05-12 11:39:59 -07:00
2016-12-24 11:46:01 -08:00
2017-02-04 00:01:06 +13:00
2017-02-04 00:01:06 +13:00
2017-03-02 08:42:31 +01:00
2017-03-02 08:42:38 +01:00
2017-04-17 12:52:26 -04:00
2017-04-17 12:52:24 -04:00
2017-05-08 17:15:13 -07:00
2017-05-08 17:15:12 -07:00
2017-04-18 11:42:36 -07:00
2017-05-02 11:38:06 -07:00
2017-05-02 11:54:26 -07:00
2017-04-17 12:52:23 -04:00
2017-04-20 12:09:55 -06:00
2017-02-20 16:51:23 +01:00
2017-03-01 12:53:44 +01:00
2017-04-08 00:47:48 -07:00
2017-04-17 12:52:23 -04:00
2017-05-08 17:15:13 -07:00