commit | 3ebd9b4701ef77358030a0ef9cb6586db2149712 | [log] [tgz] |
---|---|---|
author | James Smart <jsmart2021@gmail.com> | Sat Mar 04 09:30:29 2017 -0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Mar 06 23:04:22 2017 -0500 |
tree | 761966d4126d717fd27a6adf6c34a0ccffc2fefe | |
parent | a5068b46958870633ea340692f301507ef78d00b [diff] |
scsi: lpfc: Fix nvme allocation bug on failed nvme_fc_register_localport nvme bufs get allocated even when the registration fails. Move allocation into the rsgistration success path. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>