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

From: Johannes Thumshirn
Date: Mon Mar 14 2016 - 04:15:06 EST


On Fri, Mar 11, 2016 at 07:47:32AM -0800, 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.
>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>

Reviewed-by: Johannes Thumshirn <jthumshirn@xxxxxxx>

--
Johannes Thumshirn Storage
jthumshirn@xxxxxxx +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850