]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
scsi: libfc: fixup lockdep annotations
authorHannes Reinecke <hare@suse.de>
Wed, 11 Jul 2018 08:09:27 +0000 (10:09 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Jul 2018 03:01:16 +0000 (23:01 -0400)
commit9a26653b9525c08bc3d0a2c5c65721e4de3a5f6d
tree4c1e19409849134d4bea8c2bee882c6cb661da95
parentb15c9fd8bb38cc9a50d9b0a953c866c6091be08b
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: ee35624e1e4e ("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>
drivers/scsi/libfc/fc_rport.c