]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] extmem unbalanced spin_lock.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 4 Dec 2006 14:40:20 +0000 (15:40 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 4 Dec 2006 14:40:20 +0000 (15:40 +0100)
commite56d600b5ba7b8e0f21be8459a0f455da6aabd69
treecdc6d8852e2cd34b309ce4ccaf62d0bc74657d4c
parent51ec0e53511d02ae2a983d97de255674aeb3ead2
[S390] extmem unbalanced spin_lock.

segment save will exit with a lock held if the passed segment doesn't
exist. Any subsequent call to segment_save will lead to a deadlock.
Fix this and give up the lock before returning.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/extmem.c