diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2017-05-08 07:59:02 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-05-12 05:10:03 +0200 |
commit | 29f6ca6916e29fc46f1418885374d9ed50430687 (patch) | |
tree | f34bd7a4d104c5bc646dd9d6a250db6dc15c033b /drivers/mcb | |
parent | scsi: pmcraid: remove redundant check to see if request_size is less than zero (diff) | |
download | linux-29f6ca6916e29fc46f1418885374d9ed50430687.tar.xz linux-29f6ca6916e29fc46f1418885374d9ed50430687.zip |
scsi: sd: Unlock zone in case of error in sd_setup_write_same_cmnd()
scsi_io_init() may fail, leaving a zone of a zoned block device locked.
Fix this by properly unlocking the write same request target zone if
scsi_io_init() fails.
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/mcb')
0 files changed, 0 insertions, 0 deletions