Skip to content

Commit 9a26653

Browse files
hreineckemartinkpetersen
authored andcommitted
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: ee35624 ("scsi: libfc: Add lockdep annotations") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent b15c9fd commit 9a26653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/libfc/fc_rport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ static void fc_rport_recv_plogi_req(struct fc_lport *lport,
18351835
struct fc_seq_els_data rjt_data;
18361836
u32 sid;
18371837

1838-
lockdep_assert_held(&rdata->rp_mutex);
1838+
lockdep_assert_held(&lport->lp_mutex);
18391839

18401840
sid = fc_frame_sid(fp);
18411841

0 commit comments

Comments
 (0)