Btrfs: Remove verbose WARN_ON
authorChris Mason <chris.mason@oracle.com>
Mon, 14 Jan 2008 18:22:53 +0000 (13:22 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:59 +0000 (11:03 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_map.c

index f3a384ed700c5bb053918c5adc3233b5b4ae8326..d71aed341abd9af53ff36690ffe13360f3e74f34 100644 (file)
@@ -1665,8 +1665,6 @@ void set_page_extent_mapped(struct page *page)
 
 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);
 }