diff options
| author | Johannes Thumshirn <[email protected]> | 2017-04-07 09:34:15 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-04-11 20:55:20 -0400 |
| commit | 28676d869bbb5257b5f14c0c95ad3af3a7019dd5 (patch) | |
| tree | 01f1d4f07f0e80cf33a3fe346fd95c7a2f779208 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 1bc0eb0446158cc76562176b80623aa119afee5b (diff) | |
scsi: sg: check for valid direction before starting the request
Check for a valid direction before starting the request, otherwise we
risk running into an assertion in the scsi midlayer checking for valid
requests.
[mkp: fixed typo]
Signed-off-by: Johannes Thumshirn <[email protected]>
Link: http://www.spinics.net/lists/linux-scsi/msg104400.html
Reported-by: Dmitry Vyukov <[email protected]>
Signed-off-by: Hannes Reinecke <[email protected]>
Tested-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions