[SCSI] lpfc 8.1.4 : Two misc fixes
authorJames Smart <James.Smart@Emulex.Com>
Tue, 7 Mar 2006 20:04:19 +0000 (15:04 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 12 Mar 2006 14:57:13 +0000 (08:57 -0600)
commitfc6c12bcc19bdff6b4bcb02f5bd6d9fa59a7e1af
tree52a69666dcd29c20975ec2ae218f87f2ab3024f1
parent9290831f00879d4a66d3bffb609949d5ea5576fb
[SCSI] lpfc 8.1.4 : Two misc fixes

Two misc fixes:
 - Fix deadlock caused by return with host_lock held in lpfc_findnode_did
 - Initialize all fields of the allocated mail box structure to zero.
   Was causing some sysfs mailbox commands to fail immediately after load.

Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_hbadisc.c