diff options
author | James Smart <james.smart@emulex.com> | 2014-05-21 14:05:10 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-06-02 18:29:52 +0200 |
commit | 59c5f61fcaccb04e2728cb84c9689b4ca886fa8e (patch) | |
tree | fc0faab41d199ffedafabd59f425d3ff197288aa /drivers | |
parent | lpfc: Fix for cleaning up stale ring flag and sp_queue_event entries (diff) | |
download | linux-59c5f61fcaccb04e2728cb84c9689b4ca886fa8e.tar.xz linux-59c5f61fcaccb04e2728cb84c9689b4ca886fa8e.zip |
lpfc: Fix for initializing RRQ bitmap
Fix for initializing RRQ bitmap
Signed-off-by: James Smart <james.smart@emulex.com>
Reviewed-By: Dick Kennedy <dick.kennedy@emulex.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hbadisc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index a44d76a7b8e1..d17cde6bfcaf 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c @@ -5634,6 +5634,9 @@ lpfc_nlp_init(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, ndlp->active_rrqs_xri_bitmap = mempool_alloc(vport->phba->active_rrq_pool, GFP_KERNEL); + if (ndlp->active_rrqs_xri_bitmap) + memset(ndlp->active_rrqs_xri_bitmap, 0, + ndlp->phba->cfg_rrq_xri_bitmap_sz); } |