linux/drivers/block
Christoph Hellwig 1ebe2e5f9d block: remove GENHD_FL_EXT_DEVT
All modern drivers can support extra partitions using the extended
dev_t.  In fact except for the ioctl method drivers never even see
partitions in normal operation.

So remove the GENHD_FL_EXT_DEVT and allow extra partitions for all
block devices that do support partitions, and require those that
do not support partitions to explicit disallow them using
GENHD_FL_NO_PART.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211122130625.1136848-12-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-11-29 06:38:35 -07:00
..
aoe block: aoe: fixup coccinelle warnings 2021-10-21 08:54:15 -06:00
drbd block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
mtip32xx mtip32xx: Remove redundant 'flush_workqueue()' calls 2021-10-18 14:50:37 -06:00
null_blk block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
paride block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
rnbd rnbd: add error handling support for add_disk() 2021-10-21 09:00:56 -06:00
rsxx block/rsxx: add error handling support for add_disk() 2021-10-18 14:41:36 -06:00
xen-blkback block: remove GENHD_FL_CD 2021-11-29 06:35:21 -07:00
zram block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
amiflop.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
ataflop.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
brd.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
floppy.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
Kconfig vhost,virtio,vhost: fixes,features 2021-11-03 15:00:39 -07:00
loop.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
loop.h block: remove support for cryptoloop and the xor transfer 2021-10-22 08:34:58 -06:00
Makefile block: remove support for cryptoloop and the xor transfer 2021-10-22 08:34:58 -06:00
n64cart.c block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART 2021-11-29 06:35:21 -07:00
nbd.c for-5.16/drivers-2021-11-09 2021-11-09 11:24:08 -08:00
pktcdvd.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
ps3disk.c ps3disk: add error handling support for add_disk() 2021-10-30 11:03:37 -06:00
ps3vram.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
rbd_types.h libceph, rbd: replace zero-length array with flexible-array 2020-06-01 13:22:53 +02:00
rbd.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
sunvdc.c block: remove GENHD_FL_CD 2021-11-29 06:35:21 -07:00
swim3.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
swim_asm.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
swim.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
sx8.c sx8: fix an error code in carm_init_one() 2021-10-18 14:42:30 -06:00
virtio_blk.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
xen-blkfront.c block: remove GENHD_FL_CD 2021-11-29 06:35:21 -07:00
z2ram.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00