]> err.no Git - linux-2.6/commitdiff
[PATCH] mm/mempolicy.c: fix 'if ();' typo
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 21 Feb 2006 02:28:10 +0000 (18:28 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Feb 2006 04:00:11 +0000 (20:00 -0800)
[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>
mm/mempolicy.c

index 6422fe4781132f423150bf5334ec7bdc65e041e0..880831bd3003616cc7d44a8570f0d18fa41d0bfe 100644 (file)
@@ -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);