diff options
author | KOSAKI Motohiro <[email protected]> | 2008-12-16 16:06:43 +0900 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-12-16 08:19:23 -0800 |
commit | c095adbc211f9f4e990eac7d6cb440de35e4f05f (patch) | |
tree | b2da614d48d715816b8ee7172918fa9d2f089a24 /fs/jbd2/commit.c | |
parent | a3dd15444baa9c7522c8457ab564c41219dfb44c (diff) |
mm: Don't touch uninitialized variable in do_pages_stat_array()
Commit 80bba1290ab5122c60cdb73332b26d288dc8aedd removed one necessary
variable initialization. As a result following warning happened:
CC mm/migrate.o
mm/migrate.c: In function 'sys_move_pages':
mm/migrate.c:1001: warning: 'err' may be used uninitialized in this function
More unfortunately, if find_vma() failed, kernel read uninitialized
memory.
Signed-off-by: KOSAKI Motohiro <[email protected]>
CC: Brice Goglin <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions