aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/block/blk-lib.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-08-18 16:45:33 +0200
committerJens Axboe <axboe@kernel.dk>2021-08-23 12:55:45 -0600
commit52b85909f85d06efa69aaf4210e72467f1f58d2b (patch)
tree4ec1c98cb54dd78421550335f28c32693927317b /block/blk-lib.c
parentblock: add a sanity check for a live disk in del_gendisk (diff)
downloadwireguard-linux-52b85909f85d06efa69aaf4210e72467f1f58d2b.tar.xz
wireguard-linux-52b85909f85d06efa69aaf4210e72467f1f58d2b.zip
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>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions