• J
    nodedev: Keep the node device lock longer in nodeDeviceDestroy · ccb0d6e3
    John Ferlan 提交于
    While perhaps improbable, it could be possible that after finding our
    object that another thread running essentially in parallel could attempt
    to delete the same vHBA.
    
    So rather than dropping the lock right after finding the object, keep
    the lock around while we drop the object lock and work on deleting the
    object. Once the delete occurs we can safely drop the driver lock again.
    
    Cleanup some of the usage of cleanup instead out for the goto label.
    ccb0d6e3
node_device_driver.c 20.1 KB