diff options
author | Namhyung Kim <namhyung@gmail.com> | 2011-02-25 14:44:25 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-02-25 15:07:37 -0800 |
commit | 29723fccc837d20039078f7a571e8d457eb0d6c6 (patch) | |
tree | f11e37b20388eb12f04ae8718b247e931ce99379 /mm/shmem.c | |
parent | a2d6d2fa90c0e1d2cc1d59ccb5bbe93bb28b7413 (diff) | |
download | op-kernel-dev-29723fccc837d20039078f7a571e8d457eb0d6c6.zip op-kernel-dev-29723fccc837d20039078f7a571e8d457eb0d6c6.tar.gz |
mm: fix dubious code in __count_immobile_pages()
When pfn_valid_within() failed 'iter' was incremented twice.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions