mm, pagevec: rename pagevec drained field
[sfrench/cifs-2.6.git] / mm / swap.c
index b480279c760ca31daa20da2aa7949a2c209937ad..38e1b6374a97712c881c8cbf2a51893ea87be0d5 100644 (file)
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -833,9 +833,9 @@ EXPORT_SYMBOL(release_pages);
  */
 void __pagevec_release(struct pagevec *pvec)
 {
-       if (!pvec->drained) {
+       if (!pvec->percpu_pvec_drained) {
                lru_add_drain();
-               pvec->drained = true;
+               pvec->percpu_pvec_drained = true;
        }
        release_pages(pvec->pages, pagevec_count(pvec));
        pagevec_reinit(pvec);