aboutsummaryrefslogtreecommitdiff
path: root/kernel/fail_function.c
diff options
context:
space:
mode:
authorSi-Wei Liu <[email protected]>2020-10-03 01:02:09 -0400
committerMichael S. Tsirkin <[email protected]>2020-10-04 03:47:02 -0400
commit1477c8aebb94a1db398c12d929a9d27bbd678d8c (patch)
treefcfa8b329f2a0f59089a735083e8e1b86990fb4c /kernel/fail_function.c
parentab5122510b0a453c0ac898ec9952d38e80243ee7 (diff)
vhost-vdpa: fix vhost_vdpa_map() on error condition
vhost_vdpa_map() should remove the iotlb entry just added if the corresponding mapping fails to set up properly. Fixes: 4c8cf31885f6 ("vhost: introduce vDPA-based backend") Signed-off-by: Si-Wei Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions