[PATCH 0/3] Cleanup blkdev zone helpers

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

 



The first patch removes a useless initialization of the number of zones
of a zoned null_blk device. The following 2 patches rework the zone
related inline helper functions in blkdev.h to simplify their
definition, removing uneeded code.

Damien Le Moal (3):
  null_blk: Do not set disk->nr_zones
  block: Define bdev_nr_zones() as an inline function
  block: Cleanup block device zone helpers

 block/blk-zoned.c              | 18 -------------
 drivers/block/null_blk/zoned.c |  2 --
 include/linux/blkdev.h         | 46 +++++++++++-----------------------
 3 files changed, 15 insertions(+), 51 deletions(-)

-- 
2.45.2





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux