aboutsummaryrefslogtreecommitdiff
path: root/fsdev
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2011-04-18 12:57:22 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2011-05-26 12:14:16 +0200
commitefb9ee024845982a210bfe48a73298846adfe9da (patch)
tree04a8eabbfdb98d4a5affb127c5cf241bb7986875 /fsdev
parent74382217ca8f25a530c9f63e6b523e6259d7719a (diff)
scsi-disk: add data direction checking
scsi_req_parse() already provides for a data direction setting, so we should be using it to check for correct direction. And we should return the sense code 'INVALID FIELD IN CDB' in these cases. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions