Re: [PATCH] scsi: scsi_debug: Remove superfluous close zone in resp_open_zone()

2020-08-23 Thread Damien Le Moal
On 2020/08/21 22:00, Niklas Cassel wrote: > resp_open_zone() always calls zbc_open_zone() with parameter explicit > set to true. > > If zbc_open_zone() is called with parameter explicit set to true, and > the current zone state is implicit open, it will call zbc_close_zone() > on the zone before

[PATCH] scsi: scsi_debug: Remove superfluous close zone in resp_open_zone()

2020-08-21 Thread Niklas Cassel
resp_open_zone() always calls zbc_open_zone() with parameter explicit set to true. If zbc_open_zone() is called with parameter explicit set to true, and the current zone state is implicit open, it will call zbc_close_zone() on the zone before proceeding. Therefore, there is no need for