All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Rename blk_queue_zone_size and bdev_zone_size
@ 2017-01-12  2:42 Damien Le Moal
  2017-01-12  2:42 ` [PATCH 1/2] block: " Damien Le Moal
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Damien Le Moal @ 2017-01-12  2:42 UTC (permalink / raw)
  To: Jens Axboe, Jaegeuk Kim
  Cc: linux-block, Shaun Tancheff, Hannes Reinecke, Damien Le Moal

All block device data fields and functions returning a number of 512B
sectors are by convention named xxx_sectors while names in the form
of 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.

This is a style fix and no functional change is introduced by this patch.

Damien Le Moal (2):
  block: Rename blk_queue_zone_size and bdev_zone_size
  f2fs: Rename bdev_zone_size to bdev_zone_sectors

 block/blk-zoned.c         |  4 ++--
 block/partition-generic.c | 14 +++++++-------
 fs/f2fs/segment.c         |  4 ++--
 fs/f2fs/super.c           |  6 +++---
 include/linux/blkdev.h    |  6 +++---
 5 files changed, 17 insertions(+), 17 deletions(-)

-- 
2.9.3

Western Digital Corporation (and its subsidiaries) E-mail Confidentiality Notice & Disclaimer:

This e-mail and any files transmitted with it may contain confidential or legally privileged information of WDC and/or its affiliates, and are intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the e-mail in its entirety from your system.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-01-13  0:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12  2:42 [PATCH 0/2] Rename blk_queue_zone_size and bdev_zone_size Damien Le Moal
2017-01-12  2:42 ` [PATCH 1/2] block: " Damien Le Moal
2017-01-12  2:42 ` [PATCH 2/2] f2fs: Rename bdev_zone_size to bdev_zone_sectors Damien Le Moal
2017-01-12  3:52 ` [PATCH 0/2] Rename blk_queue_zone_size and bdev_zone_size Jens Axboe
2017-01-12  4:36   ` Damien Le Moal
2017-01-12  4:38     ` Jens Axboe
2017-01-12  4:43       ` Damien Le Moal
2017-01-12 20:49       ` Jens Axboe
2017-01-13  0:10         ` Damien Le Moal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.