]> git.baikalelectronics.ru Git - kernel.git/commit
amd_iommu: fix lock imbalance
authorJiri Slaby <jirislaby@gmail.com>
Thu, 28 May 2009 07:54:48 +0000 (09:54 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Wed, 3 Jun 2009 08:34:55 +0000 (10:34 +0200)
commit24c10eab096ed1928f3b298a4a96e682d1b59489
treec6be71774b788662618c45470fc02b85e1797e26
parent1a82bb569319312e69ea5e129034b4039fdea96d
amd_iommu: fix lock imbalance

In alloc_coherent there is an omitted unlock on the path where mapping
fails. Add the unlock.

[ Impact: fix lock imbalance in alloc_coherent ]

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu.c