Re: [PATCH 07/11] zbd: simplify zbd_close_zone()

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

 



On Fri, Dec 10, 2021 at 11:15:37AM +0900, Damien Le Moal wrote:
> Change the interface of zbd_close_zone() to directly use a pointer to a
> zone information structure as all callers already have this information.
> Also do nothing for zones that are not marked as open instead of
> figuring out this fact by searching the array of open zones.
> 
> No functional changes.
> 
> Signed-off-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx>
> ---

Nice cleanup!

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