]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - mm/vmscan.c
[PATCH] add AOP_TRUNCATED_PAGE, prepend AOP_ to WRITEPAGE_ACTIVATE
[linux-2.6.git] / mm / vmscan.c
index b0cd81c32de6ca0f601bb1be3c12764beb37a8af..795a050fe4714cb781dac80dcfc9d3e3c8f45275 100644 (file)
@@ -367,7 +367,7 @@ static pageout_t pageout(struct page *page, struct address_space *mapping)
                res = mapping->a_ops->writepage(page, &wbc);
                if (res < 0)
                        handle_write_error(mapping, page, res);
-               if (res == WRITEPAGE_ACTIVATE) {
+               if (res == AOP_WRITEPAGE_ACTIVATE) {
                        ClearPageReclaim(page);
                        return PAGE_ACTIVATE;
                }