Re: [PATCH 15/45] block: use put_device in put_disk

2020-11-24 Thread Tejun Heo
On Tue, Nov 24, 2020 at 02:27:21PM +0100, Christoph Hellwig wrote: > Use put_device to put the device instead of poking into the internals > and using kobject_put. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Greg Kroah-Hartman > Reviewed-by: Jan Kara > Reviewed-by: Johannes Thumshirn

[PATCH 15/45] block: use put_device in put_disk

2020-11-24 Thread Christoph Hellwig
Use put_device to put the device instead of poking into the internals and using kobject_put. Signed-off-by: Christoph Hellwig Reviewed-by: Greg Kroah-Hartman Reviewed-by: Jan Kara Reviewed-by: Johannes Thumshirn --- block/genhd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g