提交 ffaa8200 编写于 作者: L Linus Torvalds

Fix reiserfs after "test_clear_page_dirty()" removal

Thanks to Len Brown for testing this fix, since while they have in the
past, none of my machines run reiserfs at the moment.

Cc: Vladimir V. Saveliev <vs@namesys.com>
Acked-by: NLen Brown <lenb@kernel.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 8368e328
...@@ -1459,7 +1459,7 @@ static void unmap_buffers(struct page *page, loff_t pos) ...@@ -1459,7 +1459,7 @@ static void unmap_buffers(struct page *page, loff_t pos)
bh = next; bh = next;
} while (bh != head); } while (bh != head);
if (PAGE_SIZE == bh->b_size) { if (PAGE_SIZE == bh->b_size) {
clear_page_dirty(page); cancel_dirty_page(page, PAGE_CACHE_SIZE);
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册