On Mon, 22 Nov 2021 14:06:11 +0100, Christoph Hellwig wrote: > Ho Jens, > > the gendisk flags have been a complete mess for a while. This series > tries to untangle them as much as easily possible. > > Diffstat: > block/bdev.c | 5 -- > block/blk.h | 1 > block/genhd.c | 41 +++++++---------- > block/ioctl.c | 31 ++----------- > block/partitions/core.c | 24 ++++------ > drivers/block/amiflop.c | 1 > drivers/block/ataflop.c | 1 > drivers/block/brd.c | 1 > drivers/block/drbd/drbd_main.c | 1 > drivers/block/floppy.c | 1 > drivers/block/loop.c | 9 +-- > drivers/block/n64cart.c | 2 > drivers/block/null_blk/main.c | 1 > drivers/block/paride/pcd.c | 3 - > drivers/block/paride/pf.c | 1 > drivers/block/pktcdvd.c | 2 > drivers/block/ps3vram.c | 1 > drivers/block/rbd.c | 6 -- > drivers/block/sunvdc.c | 17 +++---- > drivers/block/swim.c | 1 > drivers/block/swim3.c | 2 > drivers/block/virtio_blk.c | 1 > drivers/block/xen-blkback/xenbus.c | 2 > drivers/block/xen-blkfront.c | 26 ++++------- > drivers/block/z2ram.c | 1 > drivers/block/zram/zram_drv.c | 1 > drivers/cdrom/gdrom.c | 1 > drivers/md/dm.c | 1 > drivers/md/md.c | 5 -- > drivers/mmc/core/block.c | 4 - > drivers/mtd/ubi/block.c | 1 > drivers/scsi/sd.c | 1 > drivers/scsi/sr.c | 6 +- > include/linux/genhd.h | 85 +++++++++---------------------------- > 34 files changed, 104 insertions(+), 183 deletions(-) > > [...] Applied, thanks! [01/14] block: move GENHD_FL_NATIVE_CAPACITY to disk->state (no commit info) [02/14] block: move GENHD_FL_BLOCK_EVENTS_ON_EXCL_WRITE to disk->event_flags (no commit info) [03/14] block: remove GENHD_FL_CD (no commit info) [04/14] block: remove a dead check in show_partition (no commit info) [05/14] block: merge disk_scan_partitions and blkdev_reread_part (no commit info) [06/14] block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART (no commit info) [07/14] block: remove the GENHD_FL_HIDDEN check in blkdev_get_no_open (no commit info) [08/14] null_blk: don't suppress partitioning information (no commit info) [09/14] mmc: don't set GENHD_FL_SUPPRESS_PARTITION_INFO (no commit info) [10/14] block: remove GENHD_FL_SUPPRESS_PARTITION_INFO (no commit info) [11/14] block: remove GENHD_FL_EXT_DEVT (no commit info) [12/14] block: don't set GENHD_FL_NO_PART for hidden gendisks (no commit info) [13/14] block: cleanup the GENHD_FL_* definitions (no commit info) [14/14] sr: set GENHD_FL_REMOVABLE earlier (no commit info) Best regards, -- Jens Axboe