aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r--mm/vmscan.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 988aef933016..e70fae31e968 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1303,9 +1303,6 @@ static void shrink_active_list(unsigned long nr_pages, struct zone *zone,
1303 spin_unlock_irq(&zone->lru_lock); 1303 spin_unlock_irq(&zone->lru_lock);
1304 if (buffer_heads_over_limit) 1304 if (buffer_heads_over_limit)
1305 pagevec_strip(&pvec); 1305 pagevec_strip(&pvec);
1306 if (vm_swap_full())
1307 pagevec_swap_free(&pvec);
1308
1309 pagevec_release(&pvec); 1306 pagevec_release(&pvec);
1310} 1307}
1311 1308