diff options
author | Damien Le Moal <[email protected]> | 2017-05-08 14:59:02 +0900 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-05-11 23:10:03 -0400 |
commit | 29f6ca6916e29fc46f1418885374d9ed50430687 (patch) | |
tree | f34bd7a4d104c5bc646dd9d6a250db6dc15c033b /net/unix/sysctl_net_unix.c | |
parent | b77b36cb7272ec5b9fb000e2ff18e947d9586a22 (diff) |
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 <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions