diff options
author | Dexuan Cui <decui@microsoft.com> | 2015-02-27 11:26:00 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-01 19:30:07 -0800 |
commit | ac0d12b7cee73b4b4b769ea58c62ec7042c6be13 (patch) | |
tree | 54438c288b9ddf6babf182d27b435222f7660db0 /fs/ext4/xattr.c | |
parent | 89f9f6796d41e10e224b0cb0027ddd78cb881f65 (diff) |
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" <kys@microsoft.com>
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext4/xattr.c')
0 files changed, 0 insertions, 0 deletions