summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2011-02-25 14:44:25 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-02-25 15:07:37 -0800
commit29723fccc837d20039078f7a571e8d457eb0d6c6 (patch)
treef11e37b20388eb12f04ae8718b247e931ce99379 /mm/shmem.c
parenta2d6d2fa90c0e1d2cc1d59ccb5bbe93bb28b7413 (diff)
downloadop-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
OpenPOWER on IntegriCloud