From: Dominik Dingel Date: Thu, 31 Oct 2013 09:01:16 +0000 (+0100) Subject: s390/mm: page_table_realloc returns failure X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~58^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be39f1968e33ca641af120a2d659421ad2225dea;p=pandora-kernel.git 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 . Reviewed-by: Martin Schwidefsky Signed-off-by: Dominik Dingel Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed