aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-07-31 15:42:54 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:05 -0400
commit3ce7e67a069b919be774a341b82fc20978b7f69d (patch)
treec1f346ab7c61f51a4de0328ba0890be68038ad50 /fs/btrfs/file.c
parent61b4944018449003ac5f9757f4d125dce519cf51 (diff)
Btrfs: Drop some debugging around the extent_map pinned flag
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r--fs/btrfs/file.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index d3f2fe0b7c6c..c78f184ee5cc 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -380,15 +380,7 @@ int btrfs_drop_extent_cache(struct inode *inode, u64 start, u64 end)
380 spin_unlock(&em_tree->lock); 380 spin_unlock(&em_tree->lock);
381 break; 381 break;
382 } 382 }
383 if (test_bit(EXTENT_FLAG_PINNED, &em->flags)) { 383 clear_bit(EXTENT_FLAG_PINNED, &em->flags);
384 printk(KERN_CRIT "inode %lu trying to drop pinned "
385 "extent start %llu end %llu, em [%llu %llu]\n",
386 inode->i_ino,
387 (unsigned long long)start,
388 (unsigned long long)end,
389 (unsigned long long)em->start,
390 (unsigned long long)em->len);
391 }
392 remove_extent_mapping(em_tree, em); 384 remove_extent_mapping(em_tree, em);
393 385
394 if (em->block_start < EXTENT_MAP_LAST_BYTE && 386 if (em->block_start < EXTENT_MAP_LAST_BYTE &&