aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2016-06-15 19:44:20 -0700
committerDan Williams <[email protected]>2016-06-27 12:26:08 -0700
commit0d52c756a665adc032c791307bc55e392b0186b3 (patch)
treea554db0e9ba23afe321e8f084c3a31777ea068b6 /tools/perf/scripts/python/export-to-postgresql.py
parentd72a57835c92f6d51863b0ad6d7d45e3859e24d4 (diff)
block: convert to device_add_disk()
For block drivers that specify a parent device, convert them to use device_add_disk(). This conversion was done with the following semantic patch: @@ struct gendisk *disk; expression E; @@ - disk->driverfs_dev = E; ... - add_disk(disk); + device_add_disk(E, disk); @@ struct gendisk *disk; expression E1, E2; @@ - disk->driverfs_dev = E1; ... E2 = disk; ... - add_disk(E2); + device_add_disk(E1, E2); ...plus some manual fixups for a few missed conversions. Cc: Jens Axboe <[email protected]> Cc: Keith Busch <[email protected]> Cc: Michael S. Tsirkin <[email protected]> Cc: David Woodhouse <[email protected]> Cc: David S. Miller <[email protected]> Cc: James Bottomley <[email protected]> Cc: Ross Zwisler <[email protected]> Cc: Konrad Rzeszutek Wilk <[email protected]> Cc: Martin K. Petersen <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions