diff options
| author | Dominik Dingel <[email protected]> | 2013-10-31 09:01:16 +0000 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2013-10-31 15:52:58 +0000 |
| commit | be39f1968e33ca641af120a2d659421ad2225dea (patch) | |
| tree | a650e4ff8561174693a8ed19ccc97932b1883d60 /lib/lockref.c | |
| parent | s390: allow to set gcc -mtune flag (diff) | |
| download | kernel-be39f1968e33ca641af120a2d659421ad2225dea.tar.gz kernel-be39f1968e33ca641af120a2d659421ad2225dea.zip | |
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 <[email protected]>.
Reviewed-by: Martin Schwidefsky <[email protected]>
Signed-off-by: Dominik Dingel <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions
