Re: [PATCH 1/3] zbd: Fix missing mutex unlock and warnings detected with coverity

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

 



On 4/7/20 11:46 PM, Damien Le Moal wrote:
> With max_open_zones != 0, if no candidate zone for open is found by
> zbd_convert_to_open_zone(), the file zbd_info mutex as well as the
> current target zone mutex must both be unlocked before returning NULL.
> 
> While at it, also assert check for min_bs != 0 where min_bs is used for
> divisions to avoid division by zero warnings from coverity.

You forgot the cover letter, so replying to this one. Applied 1-3 (v2).

-- 
Jens Axboe




[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