summaryrefslogtreecommitdiffstats
path: root/arch/s390/mm/mmap.c
diff options
context:
space:
mode:
authorDominik Dingel <dingel@linux.vnet.ibm.com>2013-10-31 10:01:16 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-10-31 16:52:58 +0100
commitbe39f1968e33ca641af120a2d659421ad2225dea (patch)
treea650e4ff8561174693a8ed19ccc97932b1883d60 /arch/s390/mm/mmap.c
parent1db9e0513d7478f6c80ca0bc4f58f53fe49e27f8 (diff)
downloadlinux-be39f1968e33ca641af120a2d659421ad2225dea.tar.bz2
s390/mm: page_table_realloc returns failure
There is a possible race between setting has_pgste and reallocation of the page_table, change the order to fix this. Also page_table_alloc_pgste can fail, in that case we need to backpropagte this as -ENOMEM to the caller of page_table_realloc. Based on a patch by Christian Borntraeger <borntraeger@de.ibm.com>. Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm/mmap.c')
0 files changed, 0 insertions, 0 deletions