be2iscsi: add an missing goto in error path
authorTomas Henzl <thenzl@redhat.com>
Fri, 6 Jun 2014 12:06:30 +0000 (14:06 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 25 Jun 2014 11:29:05 +0000 (13:29 +0200)
a jump to 'free_memory' is apparently missing

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/be2iscsi/be_main.c

index 554349029628417d03b163cb066b94b6b0552c05..56467df3d6de668521fd2d578d52aa2578027a08 100644 (file)
@@ -4198,6 +4198,8 @@ static int hba_setup_cid_tbls(struct beiscsi_hba *phba)
                kfree(phba->ep_array);
                phba->ep_array = NULL;
                ret = -ENOMEM;
+
+               goto free_memory;
        }
 
        for (i = 0; i < phba->params.cxns_per_ctrl; i++) {
This page took 0.030532 seconds and 5 git commands to generate.