summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-02-20 18:28:10 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-20 20:00:11 -0800
commitfcab6f351305029fc5e3c632209d45cae57e4835 (patch)
tree21a84b35d172b63a47421190af83eb12c006a8e2
parent1dd31b6c89611ee91c0ff309c8733c0af61579e8 (diff)
downloadlinux-fcab6f351305029fc5e3c632209d45cae57e4835.tar.gz
linux-fcab6f351305029fc5e3c632209d45cae57e4835.tar.bz2
linux-fcab6f351305029fc5e3c632209d45cae57e4835.zip
[PATCH] mm/mempolicy.c: fix 'if ();' typo
[akpm; it happens that the code was still correct, only inefficient ] Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Christoph Lameter <christoph@lameter.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--mm/mempolicy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index 6422fe478113..880831bd3003 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -587,7 +587,7 @@ redo:
}
list_add(&page->lru, &newlist);
nr_pages++;
- if (nr_pages > MIGRATE_CHUNK_SIZE);
+ if (nr_pages > MIGRATE_CHUNK_SIZE)
break;
}
err = migrate_pages(pagelist, &newlist, &moved, &failed);