diff options
author | Kai Mäkisara <Kai.Makisara@kolumbus.fi> | 2024-11-06 11:57:23 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-11-06 21:18:16 -0500 |
commit | a4550b28c8c853e7241ecf30b4f1d9c6bc631fda (patch) | |
tree | 1d6142e26a502e1d349950efc2c47c8fc7645ba7 /rust/helpers/workqueue.c | |
parent | 0b120edb37dc9dd8ca82893d386922eb6b16f860 (diff) | |
download | linux-a4550b28c8c853e7241ecf30b4f1d9c6bc631fda.tar.gz linux-a4550b28c8c853e7241ecf30b4f1d9c6bc631fda.tar.bz2 linux-a4550b28c8c853e7241ecf30b4f1d9c6bc631fda.zip |
scsi: st: New session only when Unit Attention for new tape
Currently the code starts new tape session when any Unit Attention
(UA) is seen when opening the device. This leads to incorrectly
clearing pos_unknown when the UA is for reset. Set new session only
when the UA is for a new tape.
Signed-off-by: Kai Mäkisara <Kai.Makisara@kolumbus.fi>
Link: https://lore.kernel.org/r/20241106095723.63254-4-Kai.Makisara@kolumbus.fi
Reviewed-by: John Meneghini <jmeneghi@redhat.com>
Tested-by: John Meneghini <jmeneghi@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions