Thread (2 messages) 2 messages, 2 authors, 2021-12-21

Re: [PATCH] block: fix error unwinding in device_add_disk

flat view

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-12-21 16:32:26

On Tue, 21 Dec 2021 17:18:51 +0100, Christoph Hellwig wrote:
One device_add is called disk->ev will be freed by disk_release, so we
should free it twice.  Fix this by allocating disk->ev after device_add
so that the extra local unwinding can be removed entirely.

Based on an earlier patch from Tetsuo Handa.


[...]
Applied, thanks!

[1/1] block: fix error unwinding in device_add_disk
      commit: 99d8690aae4b2f0d1d90075de355ac087f820a66

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