summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorLaurence Oberman <loberman@redhat.com>2026-09-29 15:28:21 -0400
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-10-03 10:29:48 -0400
commit5ba8c6e5ae6556f8e282e7a84dc8d9eb3fb432de (patch)
treea86e0c2388e0683ff8262849b673ae13fd1a60d1 /tools/lib/python/kdoc/python_version.py
parent614f374472127b8e279fc14bb6c45a23319f6b96 (diff)
downloadlinux-next-5ba8c6e5ae6556f8e282e7a84dc8d9eb3fb432de.tar.gz
linux-next-5ba8c6e5ae6556f8e282e7a84dc8d9eb3fb432de.zip
scsi: st: Relock the door after a reset
With auto-lock enabled, st locks the door at the first read or write and records ST_LOCKED_AUTO. A device reset clears the drive's medium removal prevention, but st keeps its state, so it never locks the door again and the medium can be removed from the drive while it is in use. Set the lock state to ST_UNLOCKED when a reset is recognized. The door is then locked again at the next read or write. Suggested-by: Kai Mäkisara <Kai.Makisara@kolumbus.fi> Assisted-by: Claude sashiko Signed-off-by: Laurence Oberman <loberman@redhat.com> Reviewed-by: Kai Mäkisara <kai.makisara@kolumbus.fi> Link: https://patch.msgid.link/20260929192821.997675-5-loberman@redhat.com Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions