From: Andrew Morton This is wrong. cancel_dirty_page() doesn't clear radix-tree tags. Cc: Vladimir Saveliev Cc: Edward Shishkin Signed-off-by: Andrew Morton --- fs/reiser4/plugin/file/cryptcompress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/reiser4/plugin/file/cryptcompress.c~reiser4-test_clear_page_dirty fs/reiser4/plugin/file/cryptcompress.c --- a/fs/reiser4/plugin/file/cryptcompress.c~reiser4-test_clear_page_dirty +++ a/fs/reiser4/plugin/file/cryptcompress.c @@ -1313,7 +1313,7 @@ static void clear_cluster_pages_dirty(re lock_page(clust->pages[i]); if (PageDirty(clust->pages[i])) { assert("edward-1277", PageUptodate(clust->pages[i])); - test_clear_page_dirty(clust->pages[i]); + cancel_dirty_page(clust->pages[i], PAGE_CACHE_SIZE); } #if REISER4_DEBUG else _