]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] gmap: always up mmap_sem properly
authorCarsten Otte <cotte@de.ibm.com>
Mon, 26 Sep 2011 14:40:34 +0000 (16:40 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 26 Sep 2011 14:40:50 +0000 (16:40 +0200)
commit43cea184f9b96dee07b97a19d1135d8e60938358
treed15e7f32c6081cd81cbbc6cb7a321dad9fb6733f
parent0a336f27c9a578c7a02b7b069a064e9b2c228492
[S390] gmap: always up mmap_sem properly

If gmap_unmap_segment figures that the segment was not mapped in the
first place, it need to up mmap_sem on exit.

Cc: <stable@kernel.org>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/pgtable.c