Skip to content
Snippets Groups Projects
Commit 2402dd98 authored by Yury Umanets's avatar Yury Umanets
Browse files

- fixes in filter_clear_page_cache() accordingly to green's patch.

parent 5f16105d
No related branches found
No related tags found
No related merge requests found
......@@ -286,8 +286,8 @@ static void filter_clear_page_cache(struct inode *inode,
if (page == NULL)
continue;
if (page->mapping != NULL) {
block_invalidatepage(page, 0);
wait_on_page_writeback(page);
block_invalidatepage(page, 0);
ll_truncate_complete_page(page);
}
unlock_page(page);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment