[PATCH v3 04/57] scsi: st: Prepare for enabling lock context analysis

Bart Van Assche <[email protected]> Thu, 30 Jul 2026 15:44:47 -0700
Newsgroups org.kernel.vger.linux-scsi
Message-ID <d9f861b2abd75ddafee3d0bc778621bb7e83037d.1785451174.git.bvanassche@acm.org>
Document what mutex is released by st_common_ioctl().

Signed-off-by: Bart Van Assche <[email protected]>
---
 drivers/scsi/st.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c
index f1c3c4946637..234482e1b70b 100644
--- a/drivers/scsi/st.c
+++ b/drivers/scsi/st.c
@@ -3535,6 +3535,7 @@ static int partition_tape(struct scsi_tape *STp, int size)
 static long st_common_ioctl(struct scsi_tape *STp, struct st_modedef *STm,
 			    struct file *file, unsigned int cmd_in,
 			    unsigned long arg)
+	__releases(&STp->lock)
 {
 	int i, retval = 0;