diff options
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index d196f46c880..c8601dd3660 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -759,7 +759,7 @@ cull_mlocked: | |||
759 | activate_locked: | 759 | activate_locked: |
760 | /* Not a candidate for swapping, so reclaim swap space. */ | 760 | /* Not a candidate for swapping, so reclaim swap space. */ |
761 | if (PageSwapCache(page) && vm_swap_full()) | 761 | if (PageSwapCache(page) && vm_swap_full()) |
762 | remove_exclusive_swap_page_ref(page); | 762 | try_to_free_swap(page); |
763 | VM_BUG_ON(PageActive(page)); | 763 | VM_BUG_ON(PageActive(page)); |
764 | SetPageActive(page); | 764 | SetPageActive(page); |
765 | pgactivate++; | 765 | pgactivate++; |