]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Sparse fix to mm/vmscan.c
authorRandy Dunlap <rddunlap@osdl.org>
Mon, 14 Jun 2004 06:16:38 +0000 (23:16 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 14 Jun 2004 06:16:38 +0000 (23:16 -0700)
Nick changed shrink_cache() to void, but one call was missed.

From: Mika Kukkonen <mika@osdl.org>
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/vmscan.c

index 82952f339e65a713c13d1522a6d0ba709ef3dfab..e5f0b091936f4fe37b10098b46f3b3def081b976 100644 (file)
@@ -839,7 +839,7 @@ shrink_zone(struct zone *zone, struct scan_control *sc)
        if (count >= SWAP_CLUSTER_MAX) {
                atomic_set(&zone->nr_scan_inactive, 0);
                sc->nr_to_scan = count;
-               return shrink_cache(zone, sc);
+               shrink_cache(zone, sc);
        }
 }