X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fblock%2Frd.c;h=ffd6abd6d5a045f40dd98a92486e1d21ea29e81c;hb=078a9b0388619c6c4c347458c6861833b911313b;hp=68c60a5bcdabaf4f172854bbd1df959ecbe80689;hpb=5fadd053d9bb4345ec6f405d24db4e7eb49cf81e;p=powerpc.git diff --git a/drivers/block/rd.c b/drivers/block/rd.c index 68c60a5bcd..ffd6abd6d5 100644 --- a/drivers/block/rd.c +++ b/drivers/block/rd.c @@ -154,7 +154,7 @@ static int ramdisk_commit_write(struct file *file, struct page *page, /* * ->writepage to the the blockdev's mapping has to redirty the page so that the - * VM doesn't go and steal it. We return WRITEPAGE_ACTIVATE so that the VM + * VM doesn't go and steal it. We return AOP_WRITEPAGE_ACTIVATE so that the VM * won't try to (pointlessly) write the page again for a while. * * Really, these pages should not be on the LRU at all. @@ -165,7 +165,7 @@ static int ramdisk_writepage(struct page *page, struct writeback_control *wbc) make_page_uptodate(page); SetPageDirty(page); if (wbc->for_reclaim) - return WRITEPAGE_ACTIVATE; + return AOP_WRITEPAGE_ACTIVATE; unlock_page(page); return 0; }