diff options
author | Shradha Gupta <shradhagupta@linux.microsoft.com> | 2022-05-16 06:50:58 +0200 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2022-05-26 12:04:57 +0200 |
commit | d27423bf048dcb5e15f04286d001c66685e30c29 (patch) | |
tree | 8c0675319c0f936922c4841d5ef9cd507ae60ed6 /drivers/hv/hv_debugfs.c | |
parent | scsi: storvsc: Removing Pre Win8 related logic (diff) | |
download | linux-d27423bf048dcb5e15f04286d001c66685e30c29.tar.xz linux-d27423bf048dcb5e15f04286d001c66685e30c29.zip |
hv_balloon: Fix balloon_probe() and balloon_remove() error handling
Add missing cleanup in balloon_probe() if the call to
balloon_connect_vsp() fails. Also correctly handle cleanup in
balloon_remove() when dm_state is DM_INIT_ERROR because
balloon_resume() failed.
Signed-off-by: Shradha Gupta <shradhagupta@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20220516045058.GA7933@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/hv/hv_debugfs.c')
0 files changed, 0 insertions, 0 deletions