Re: [PATCH] null_blk: cleanup zoned mode initialization

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

 



On 2021/01/29 9:11, Jens Axboe wrote:
> On 1/11/21 8:44 PM, Damien Le Moal wrote:
>> To avoid potential compilation problems, replaced the badly written
>> MB_TO_SECTS macro (missing parenthesis around the argument use) with
>> the inline function mb_to_sects(). And while at it, use DIV_ROUND_UP()
>> to calculate the total number of zones of a zoned device, simplifying
>> the code.
> 
> Sorry missed this, applide for 5.11.

Thanks !


-- 
Damien Le Moal
Western Digital Research




[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