mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
block: fold register_disk into device_add_disk
There is no real reason these should be separate. Also simplify the groups assignment a bit. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210818144542.19305-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
40b3a52ffc
commit
52b85909f8
1 changed files with 60 additions and 71 deletions
131
block/genhd.c
131
block/genhd.c
Loading…
Add table
Add a link
Reference in a new issue