diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2015-05-07 03:47:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 22:19:00 +0300 |
commit | ffc151f3c83c25ec06d5ad13a78d0fc066c7167e (patch) | |
tree | 6d3fd020c5a7e7d3d73879c1134c1ad09c9e44f4 /fs/Kconfig | |
parent | 2db84eff127e3f4b3635edc589cd6a56db8755a3 (diff) | |
download | linux-ffc151f3c83c25ec06d5ad13a78d0fc066c7167e.tar.xz |
Drivers: hv: vmbus: do cleanup on all vmbus_open() failure paths
In case there was an error reported in the response to the CHANNELMSG_OPENCHANNEL
call we need to do the cleanup as a vmbus_open() user won't be doing it after
receiving an error. The cleanup should be done on all failure paths. We also need
to avoid returning open_info->response.open_result.status as the return value as
all other errors we return from vmbus_open() are -EXXX and vmbus_open() callers
are not supposed to analyze host error codes.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/Kconfig')
0 files changed, 0 insertions, 0 deletions