diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-02-21 03:28:10 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-21 05:00:11 +0100 |
commit | fcab6f351305029fc5e3c632209d45cae57e4835 (patch) | |
tree | 21a84b35d172b63a47421190af83eb12c006a8e2 /mm | |
parent | [PATCH] ipw2200: Suppress warning message (diff) | |
download | linux-fcab6f351305029fc5e3c632209d45cae57e4835.tar.xz 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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/mempolicy.c | 2 |
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); |