mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
scsi: ipr: Prepare for enabling lock context analysis
Document locking requirements with __must_hold(). Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/3e6e59930da8c522c95d598aeb04bb30dbc11e75.1790360262.git.bvanassche@acm.org Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
This commit is contained in:
parent
e2bb4cd080
commit
9c176edb89
|
|
@ -5194,6 +5194,7 @@ static void ipr_abort_timeout(struct timer_list *t)
|
|||
* SUCCESS / FAILED
|
||||
**/
|
||||
static int ipr_cancel_op(struct scsi_cmnd *scsi_cmd)
|
||||
__must_hold(&scsi_cmd->device->host->host_lock)
|
||||
{
|
||||
struct Scsi_Host *host = scsi_cmd->device->host;
|
||||
struct ipr_cmnd *ipr_cmd;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user