summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_map.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-01-14 19:22:53 +0100
committerChris Mason <chris.mason@oracle.com>2008-09-25 17:03:59 +0200
commitb3a0d8d28c607cb2531a68742afc2b967b1f6083 (patch)
tree9bcc4fc278e6d046035affcf7c4e6913ad0ccc43 /fs/btrfs/extent_map.c
parentBtrfs: Fix extent_buffer usage when nodesize != leafsize (diff)
downloadlinux-b3a0d8d28c607cb2531a68742afc2b967b1f6083.tar.xz
linux-b3a0d8d28c607cb2531a68742afc2b967b1f6083.zip
Btrfs: Remove verbose WARN_ON
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_map.c')
-rw-r--r--fs/btrfs/extent_map.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c
index f3a384ed700c..d71aed341abd 100644
--- a/fs/btrfs/extent_map.c
+++ b/fs/btrfs/extent_map.c
@@ -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);
}