Thread (5 messages) flat view 5 messages, 4 authors, 2021-11-04

Re: [PATCH] block: fix device_add_disk() kobject_create_and_add() error handling

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-11-03 19:28:54
Also in: lkml

On Wed, 3 Nov 2021 09:40:23 -0700, Luis Chamberlain wrote:
Commit 83cbce957446 ("block: add error handling for device_add_disk /
add_disk") added error handling to device_add_disk(), however the goto
label for the kobject_create_and_add() failure did not set the return
value correctly, and so we can end up in a situation where
kobject_create_and_add() fails but we report success.


[...]
Applied, thanks!

[1/1] block: fix device_add_disk() kobject_create_and_add() error handling
      commit: 3554ce121f632db1f56f4e28dfe37da846617c9c

Best regards,
-- 
Jens Axboe

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help