On 03/04/2015 04:03 AM, Bart Van Assche wrote: > diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c > index 057d277..b46257a 100644 > --- a/drivers/scsi/ibmvscsi/ibmvfc.c > +++ b/drivers/scsi/ibmvscsi/ibmvfc.c > @@ -4722,6 +4722,8 @@ static void ibmvfc_rport_add_thread(struct work_struct *work) > tgt_dbg(tgt, "Setting rport roles\n"); > fc_remote_port_rolechg(rport, tgt->ids.roles); > put_device(&rport->dev); > + } else { > + spin_unlock_irqrestore(vhost->host->host_lock, flags); > } > > kref_put(&tgt->kref, ibmvfc_release_tgt); > Nice catch. Thanks. Reviewed-by: Brian King <brking@xxxxxxxxxxxxxxxxxx> -- Brian King Power Linux I/O IBM Linux Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html