]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - block/partition-generic.c
block: Rename blk_queue_zone_size and bdev_zone_size
authorDamien Le Moal <damien.lemoal@wdc.com>
Thu, 12 Jan 2017 14:58:32 +0000 (07:58 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 12 Jan 2017 14:58:32 +0000 (07:58 -0700)
commitf99e86485cc32cd16e5cc97f9bb0474f28608d84
tree4ca5ba54827883c29f70b55f6aad314a898f26bd
parentb5a10c5f7532b7473776da87e67f8301bbc32693
block: Rename blk_queue_zone_size and bdev_zone_size

All block device data fields and functions returning a number of 512B
sectors are by convention named xxx_sectors while names in the form
xxx_size are generally used for a number of bytes. The blk_queue_zone_size
and bdev_zone_size functions were not following this convention so rename
them.

No functional change is introduced by this patch.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Collapsed the two patches, they were nonsensically split and broke
bisection.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-zoned.c
block/partition-generic.c
fs/f2fs/segment.c
fs/f2fs/super.c
include/linux/blkdev.h