]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f88f03d3472c34698c7f32dedd0c80d84bc8a61
tree4ca5ba54827883c29f70b55f6aad314a898f26bd
parent2af3e48be9bd6e443df4664f22a74d8deb2b7f7b
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