On Mon, 10 Oct 2022 15:18:57 +0200, Christoph Hellwig wrote: > The major/minor of a hidden gendisk is not propagated to the block > device because it is never registered using bdev_add. But the lack of > bd_dev also causes the dynamic major minor number not to be freed. > Assign bd_dev manually to ensure the dynamic major minor gets freed. > > Based on a patch by Keith Busch. > > [...] Applied, thanks! [1/1] block: fix leaking minors of hidden disks commit: a0a6314ae774f8a5e52a599946aa2ad0db867b83 Best regards, -- Jens Axboe