diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-09-25 09:33:38 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-12-03 08:32:12 +0100 |
commit | 0c6ddcebd8303ada6faefa6f72ac18b6230320c4 (patch) | |
tree | f9ad607a5c433b310fe78adbf934d465de06cc94 /mm | |
parent | KVM: SVM: Remove remaining occurences of rdtscll (diff) | |
download | linux-0c6ddcebd8303ada6faefa6f72ac18b6230320c4.tar.xz linux-0c6ddcebd8303ada6faefa6f72ac18b6230320c4.zip |
KVM: fix lock imbalance in kvm_*_irq_source_id()
Stanse found 2 lock imbalances in kvm_request_irq_source_id and
kvm_free_irq_source_id. They omit to unlock kvm->irq_lock on fail paths.
Fix that by adding unlock labels at the end of the functions and jump
there from the fail paths.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions