truncate_complete_page implementation for the patchless
client could arbitrarily unset PG_Uptodate flag for a
page being kicked from the page cache, an uptodate check
right after a readpage call in filemap_fault could fail
because of that as though the page read had been unsuccessful.
i=Oleg Drokin
i=Johann Lombardi
#else
clear_page_dirty(page);
#endif
#else
clear_page_dirty(page);
#endif
- ClearPageUptodate(page);
ClearPageMappedToDisk(page);
ll_remove_from_page_cache(page);
page_cache_release(page); /* pagecache ref */
ClearPageMappedToDisk(page);
ll_remove_from_page_cache(page);
page_cache_release(page); /* pagecache ref */