Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a26653b authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Martin K. Petersen
Browse files

scsi: libfc: fixup lockdep annotations



fc_rport_recv_plogi_req() needs the lport mutex to be held; the rport mutex
will be acquired in the function itself.

Fixes: ee35624e ("scsi: libfc: Add lockdep annotations")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarHannes Reinecke <hare@suse.com>
Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent b15c9fd8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1835,7 +1835,7 @@ static void fc_rport_recv_plogi_req(struct fc_lport *lport,
	struct fc_seq_els_data rjt_data;
	u32 sid;

	lockdep_assert_held(&rdata->rp_mutex);
	lockdep_assert_held(&lport->lp_mutex);

	sid = fc_frame_sid(fp);