]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/vmscan.c
[PATCH] writeback: fix range handling
[linux-2.6-omap-h63xx.git] / mm / vmscan.c
index 46be8a02280e70f1526e518a820340977a3afc69..bc5d4f43036cc100d566b0628d89b8433104224f 100644 (file)
@@ -339,6 +339,8 @@ pageout_t pageout(struct page *page, struct address_space *mapping)
                struct writeback_control wbc = {
                        .sync_mode = WB_SYNC_NONE,
                        .nr_to_write = SWAP_CLUSTER_MAX,
+                       .range_start = 0,
+                       .range_end = LLONG_MAX,
                        .nonblocking = 1,
                        .for_reclaim = 1,
                };