diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2008-01-09 00:32:57 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-09 01:10:36 +0100 |
commit | c51b1a160b63304720d49479986915e4c475a2cf (patch) | |
tree | 88de6d01e76ead9920a8b3113830715224af0970 /mm/swap_state.c | |
parent | md: fix data corruption when a degraded raid5 array is reshaped (diff) | |
download | linux-c51b1a160b63304720d49479986915e4c475a2cf.tar.xz linux-c51b1a160b63304720d49479986915e4c475a2cf.zip |
xip: fix get_zeroed_page with __GFP_HIGHMEM
The use of get_zeroed_page() with __GFP_HIGHMEM is invalid. Use
alloc_page() with __GFP_ZERO instead of invalid get_zeroed_page().
(This patch is only compile tested)
Cc: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions