提交 b3a0d8d2 编写于 作者: C Chris Mason

Btrfs: Remove verbose WARN_ON

Signed-off-by: NChris Mason <chris.mason@oracle.com>
上级 55c69072
...@@ -1665,8 +1665,6 @@ void set_page_extent_mapped(struct page *page) ...@@ -1665,8 +1665,6 @@ void set_page_extent_mapped(struct page *page)
void set_page_extent_head(struct page *page, unsigned long len) void set_page_extent_head(struct page *page, unsigned long len)
{ {
WARN_ON(page->private && page->private == EXTENT_PAGE_PRIVATE &&
PageDirty(page));
set_page_private(page, EXTENT_PAGE_PRIVATE_FIRST_PAGE | len << 2); set_page_private(page, EXTENT_PAGE_PRIVATE_FIRST_PAGE | len << 2);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册