summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-10-10 15:18:57 +0200
committerJens Axboe <axboe@kernel.dk>2022-10-10 16:48:59 +0200
commita0a6314ae774f8a5e52a599946aa2ad0db867b83 (patch)
tree9139aab8f603266b98f1c409fcfe9fd4654ee7e0 /MAINTAINERS
parentblock: avoid sign extend problem with default queue flags mask (diff)
downloadlinux-a0a6314ae774f8a5e52a599946aa2ad0db867b83.tar.xz
linux-a0a6314ae774f8a5e52a599946aa2ad0db867b83.zip
block: fix leaking minors of hidden disks
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. Fixes: 8ddcd653257c ("block: introduce GENHD_FL_HIDDEN") Reported-by: Daniel Wagner <dwagner@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Daniel Wagner <dwagner@suse.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Link: https://lore.kernel.org/r/20221010131857.748129-1-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions