[S390] gmap: always up mmap_sem properly
authorCarsten Otte <[email protected]>
Mon, 26 Sep 2011 14:40:34 +0000 (16:40 +0200)
committerMartin Schwidefsky <[email protected]>
Mon, 26 Sep 2011 14:40:50 +0000 (16:40 +0200)
commit05873df981ca1dd32f398e7b4e19864de907e064
treed15e7f32c6081cd81cbbc6cb7a321dad9fb6733f
parentf9783ec862ea8ce0071f34a7fd028229d9fd98b4
[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: <[email protected]>
Signed-off-by: Carsten Otte <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
arch/s390/mm/pgtable.c