aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBodo Stroesser <[email protected]>2017-08-01 14:42:54 +0200
committerMartin K. Petersen <[email protected]>2017-08-08 11:49:51 -0400
commit180efde0a3f43dbe533e4be203c2918793482d4e (patch)
tree0c9dd7e01d8e3d00c2e634fd378feee39cb45569 /tools/perf/scripts/python/export-to-postgresql.py
parentbe37aa4b993bd5d4191f76a7bd43be33f987b972 (diff)
scsi: st: fix blk_get_queue usage
If blk_queue_get() in st_probe fails, disk->queue must not be set to SDp->request_queue, as that would result in put_disk() dropping a not taken reference. Thus, disk->queue should be set only after a successful blk_queue_get(). Fixes: 2b5bebccd282 ("st: Take additional queue ref in st_probe") Signed-off-by: Bodo Stroesser <[email protected]> Acked-by: Shirish Pargaonkar <[email protected]> Signed-off-by: Hannes Reinecke <[email protected]> Reviewed-by: Ewan D. Milne <[email protected]> Acked-by: Kai Mäkisara <[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