From: Dexuan Cui Date: Fri, 27 Feb 2015 19:26:00 +0000 (-0800) Subject: hv: vmbus_open(): reset the channel state on ENOMEM X-Git-Tag: omap-for-v4.2/o2_dc~63^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac0d12b7cee73b4b4b769ea58c62ec7042c6be13;p=pandora-kernel.git hv: vmbus_open(): reset the channel state on ENOMEM Without this patch, the state is put to CHANNEL_OPENING_STATE, and when the driver is loaded next time, vmbus_open() will fail immediately due to newchannel->state != CHANNEL_OPEN_STATE. CC: "K. Y. Srinivasan" Signed-off-by: Dexuan Cui Reviewed-by: Jason Wang Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed