Re: [PATCH -next 8/8] block: fix null-pointer dereference in ioc_pd_init

From: Yu Kuai
Date: Tue Nov 29 2022 - 20:33:13 EST


Hi,

在 2022/11/29 22:25, Christoph Hellwig 写道:
On Mon, Nov 28, 2022 at 11:44:34PM +0800, Li Nan wrote:
Fix problem by moving rq_qos_exit() to disk_release().

No, that now means it is removed to later. You need to add proper
synchronization.
.


Can you explain a bit more? Maybe I'm being noob, here disk is about to
be freed, and I can think of any contention.

Thanks,
Kuai