Dan Williams e63a46bef0 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>
2016-06-15 19:53:06 -07:00
..
2016-02-09 12:42:17 -07:00
2016-04-13 13:33:19 -06:00
2015-12-22 09:38:16 -07:00
2015-02-04 09:57:52 -07:00
2016-06-15 19:53:06 -07:00
2016-05-26 19:34:26 -07:00