Re: [PATCH v2 09/12] zbd: rename zbd_zone_idx() and zbd_zone_nr()

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

 



On Tue, Dec 14, 2021 at 10:24:10AM +0900, Damien Le Moal wrote:
> Rename zbd_zone_idx() to zbd_offset_to_zone_idx() to make it clear that
> the argument determining the zone is a file offset. To be consistent,
> rename zbd_zone_nr() to zbd_zone_idx() to avoid confusion with a number
> of zones. While at it, have both functions return value be of the same
> unsigned int type.
> 
> No functional changes.
> 
> Signed-off-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx>
> ---

Reviewed-by: Niklas Cassel <niklas.cassel@xxxxxxx>



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux