]> 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>
Mon, 19 May 2014 07:35:05 +0000 (17:35 +1000)
commitf5759f3baaae8f5ef3e5004744b87200e5732d5b
tree9acae81d43c92f32cbb97b9651434ddc7c0a4ba7
parentf51ce523f80c1e7a439b61626b84731a3d6089cd
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