]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
block: move the ->devnode callback to struct block_device_operations
authorChristoph Hellwig <hch@lst.de>
Fri, 27 Mar 2020 08:07:17 +0000 (09:07 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 27 Mar 2020 15:50:05 +0000 (09:50 -0600)
commit348e114bbd4dce430eae70f01a04c8fc259b4cf1
tree01e4cd9990bbae209fd2cde121070990acd20a77
parentc6a564ffadc9105880329710164ee493f0de103c
block: move the ->devnode callback to struct block_device_operations

There really isn't any good reason to stash a method directly into
struct gendisk.  Move it together with the other block device
operations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
drivers/block/pktcdvd.c
include/linux/blkdev.h
include/linux/genhd.h