WSL2-Linux-Kernel/block/partitions
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
..
Kconfig block: move menu "Partition type" to block/partitions/Kconfig 2021-10-18 06:17:35 -06:00
Makefile
acorn.c
aix.c
amiga.c
atari.c
atari.h
check.h
cmdline.c
core.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
efi.c partitions/efi: use bdev_nr_bytes instead of open coding it 2021-10-19 06:16:50 -06:00
efi.h
ibm.c partitions/ibm: use bdev_nr_sectors instead of open coding it 2021-10-19 06:17:33 -06:00
karma.c
ldm.c
ldm.h
mac.c
mac.h
msdos.c
osf.c
sgi.c
sun.c
sysv68.c
ultrix.c