diff options
author | 2010-05-28 23:22:44 +0000 | |
---|---|---|
committer | 2010-06-30 08:18:14 -0700 | |
commit | 8b5d6d3bd3e34e4cc67d875c8c88007c1c9aa960 (patch) | |
tree | 2f923d8299574a31799c14bfd9ecc10520ed9b02 /drivers/acpi/debug.c | |
parent | Staging: comedi: drivers: adl_pci9111: Fix AI commands in TRIG_FOLLOW case (diff) | |
download | linux-dev-8b5d6d3bd3e34e4cc67d875c8c88007c1c9aa960.tar.xz linux-dev-8b5d6d3bd3e34e4cc67d875c8c88007c1c9aa960.zip |
staging: hv: Fix race condition on vmbus channel initialization
There is a possible race condition when hv_utils starts to load immediately
after hv_vmbus is loading - null pointer error could happen.
This patch added wait/completion to ensure all channels are ready before
vmbus loading completes. So another module won't have any uninitialized channel.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/acpi/debug.c')
0 files changed, 0 insertions, 0 deletions