Re: [PATCH v3 1/3] block: introduce device_add_disk()

2016-06-20 Thread Bart Van Assche
On 06/17/2016 06:34 PM, Dan Williams wrote: 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: Bart Va

[PATCH v3 1/3] block: introduce device_add_disk()

2016-06-17 Thread Dan Williams
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 Reviewed-by: Johannes Thumshirn Si