diff options
author | Bart Van Assche <[email protected]> | 2017-05-31 14:43:50 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-06-01 13:10:46 -0600 |
commit | 30181faae37fa80d3aa73672e5df5f2a5b8dea0a (patch) | |
tree | 3481f39f48f01bf0f264956ae97477f195a61b49 /tools/perf/scripts/python/syscall-counts.py | |
parent | 73d17701db503382eeed03afb3a6c39ec4d9a5c7 (diff) |
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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: J. Bruce Fields <[email protected]>
Cc: Jeff Layton <[email protected]>
Cc: Omar Sandoval <[email protected]>
Cc: [email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions