aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJohannes Thumshirn <[email protected]>2017-07-07 10:56:38 +0200
committerMartin K. Petersen <[email protected]>2017-07-12 17:17:18 -0400
commit68c59fcea1f2c6a54c62aa896cc623c1b5bc9b47 (patch)
tree6166381ba308b35d8f591a91a79f85f961d46935 /tools/perf/scripts/python/export-to-postgresql.py
parenta680f1d463aeaeb00d22af257a56e111967c2f18 (diff)
scsi: sg: fix SG_DXFER_FROM_DEV transfers
SG_DXFER_FROM_DEV transfers do not necessarily have a dxferp as we set it to NULL for the old sg_io read/write interface, but must have a length bigger than 0. This fixes a regression introduced by commit 28676d869bbb ("scsi: sg: check for valid direction before starting the request") Signed-off-by: Johannes Thumshirn <[email protected]> Fixes: 28676d869bbb ("scsi: sg: check for valid direction before starting the request") Reported-by: Chris Clayton <[email protected]> Tested-by: Chris Clayton <[email protected]> Cc: Douglas Gilbert <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Tested-by: Chris Clayton <[email protected]> Acked-by: Douglas Gilbert <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions