|
@@ -4931,11 +4931,12 @@ static int megasas_mgmt_ioctl_fw(struct file *file, unsigned long arg)
|
|
|
printk(KERN_ERR "megaraid_sas: timed out while"
|
|
|
"waiting for HBA to recover\n");
|
|
|
error = -ENODEV;
|
|
|
- goto out_kfree_ioc;
|
|
|
+ goto out_up;
|
|
|
}
|
|
|
spin_unlock_irqrestore(&instance->hba_lock, flags);
|
|
|
|
|
|
error = megasas_mgmt_fw_ioctl(instance, user_ioc, ioc);
|
|
|
+ out_up:
|
|
|
up(&instance->ioctl_sem);
|
|
|
|
|
|
out_kfree_ioc:
|