cleanup and simplify the gendisk flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux