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

From: Hans de Goede
Date: Sat Apr 25 2020 - 06:43:52 EST


Hi,

On 4/25/20 9:59 AM, Christoph Hellwig wrote:
Any more comments? Are we ready to merge this now?

Merging this fine with me.

Regards,

Hans


On Wed, Apr 22, 2020 at 09:38:42AM +0200, 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.

Changes since v2:
- switch vboxsf to a shorter bdi name

Changes since v1:
- use a static dev_name buffer inside struct backing_dev_info
---end quoted text---