diff options
| author | Carlos López <clopez@suse.de> | 2026-03-13 13:20:40 +0100 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-05-13 11:12:36 -0700 |
| commit | 40f0f4bb6041b1f520445a4c5f0c8777f7c98f8e (patch) | |
| tree | aabf11c2e8c0f81d5ee9f7248773589e0b999cee /include/linux/debugobjects.h | |
| parent | 9a7ff263922e7163d0def5d35948e6b6545449f6 (diff) | |
KVM: VFIO: use mutex guard in kvm_vfio_file_set_spapr_tce()
Use a mutex guard to hold a lock for the entirety of the function, which
removes the need for a goto (whose label even has a misleading name
since 8152f8201088 ("fdget(), more trivial conversions"))
Signed-off-by: Carlos López <clopez@suse.de>
Reviewed-by: Alex Williamson <alex@shazbot.org>
Link: https://patch.msgid.link/20260313122040.1413091-5-clopez@suse.de
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
