]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: remap_file_pages: initialize populate before usage
authorSasha Levin <sasha.levin@oracle.com>
Sat, 17 May 2014 13:19:30 +0000 (23:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 20 May 2014 08:14:15 +0000 (18:14 +1000)
commit51ca6b1ab92c6c5122f60e6dbc221ac0d65b0f03
tree64294b539cf7de96973f776f74d72f1088a34155
parentd49735167e9813eb2b87c3b451a2848f88d828f5
mm: remap_file_pages: initialize populate before usage

'populate' wasn't initialized before being used in error paths,
causing panics when mm_populate() would get called with invalid
values.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mmap.c