From: Haiyang Zhang Date: Fri, 28 May 2010 23:22:44 +0000 (+0000) Subject: staging: hv: Fix race condition on vmbus channel initialization X-Git-Tag: v2.6.35-rc4~17^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b5d6d3bd3e34e4cc67d875c8c88007c1c9aa960;p=pandora-kernel.git 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 Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed