mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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: ee35624e1e ("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>
This commit is contained in:
parent
b15c9fd8bb
commit
9a26653b95
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue