diff options
author | 2017-02-01 14:26:16 +1100 | |
---|---|---|
committer | 2017-02-01 09:48:34 -0700 | |
commit | 2da64d20a0b20046d688e44f4033efd09157e29d (patch) | |
tree | 44d2bca16b1b26dd2d06254940ba213847bea7b4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Linux 4.10-rc6 (diff) | |
download | linux-rng-2da64d20a0b20046d688e44f4033efd09157e29d.tar.xz linux-rng-2da64d20a0b20046d688e44f4033efd09157e29d.zip |
vfio/spapr: Fix missing mutex unlock when creating a window
Commit d9c728949ddc ("vfio/spapr: Postpone default window creation")
added an additional exit to the VFIO_IOMMU_SPAPR_TCE_CREATE case and
made it possible to return from tce_iommu_ioctl() without unlocking
container->lock; this fixes the issue.
Fixes: d9c728949ddc ("vfio/spapr: Postpone default window creation")
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions