[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)
commit6b4044bdd158aa9ad07b3f68d1c7598036d3ee58
treecdc6d8852e2cd34b309ce4ccaf62d0bc74657d4c
parent645c98c8b6c09eae58ac2f97e0ade6ced4d6443f
[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