Re: bdi: fix use-after-free for dev_name(bdi->dev)

From: Jens Axboe
Date: Thu Apr 16 2020 - 11:30:20 EST


On 4/16/20 9:29 AM, Christoph Hellwig wrote:
> On Thu, Apr 16, 2020 at 09:29:13AM -0600, Jens Axboe wrote:
>> On 4/16/20 1:15 AM, Christoph Hellwig wrote:
>>> Hi all,
>>>
>>> the first three patches are my take on the proposal from Yufen Yu
>>> to fix the use after free of the device name of the bdi device.
>>>
>>> The rest is vaguely related cleanups.
>>
>> Applied, thanks.
>
> Please hold back, we still have a major issues with it. I will resend
> a fixed version tomorrow.

OK, will do.

--
Jens Axboe