diff options
author | 2016-06-15 18:17:27 -0700 | |
---|---|---|
committer | 2016-06-15 19:53:06 -0700 | |
commit | e63a46bef01ff3064f44dba145833284fb6adeec (patch) | |
tree | 01890349347ab2a8bf4ac1bb42004647d88ea4bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drbd: correctly handle failed crypto_alloc_hash (diff) | |
download | linux-dev-e63a46bef01ff3064f44dba145833284fb6adeec.tar.xz linux-dev-e63a46bef01ff3064f44dba145833284fb6adeec.zip |
block: introduce device_add_disk()
In preparation for removing the ->driverfs_dev member of a gendisk, add
an api that takes the parent device as a parameter to add_disk(). For
now this maintains the status quo of WARN()ing on failure, but not
return a error code.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions