aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
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 d3f2fe0b7c6..c78f184ee5c 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)
spin_unlock(&em_tree->lock);
break;
}
- if (test_bit(EXTENT_FLAG_PINNED, &em->flags)) {
- printk(KERN_CRIT "inode %lu trying to drop pinned "
- "extent start %llu end %llu, em [%llu %llu]\n",
- inode->i_ino,
- (unsigned long long)start,
- (unsigned long long)end,
- (unsigned long long)em->start,
- (unsigned long long)em->len);
- }
+ clear_bit(EXTENT_FLAG_PINNED, &em->flags);
remove_extent_mapping(em_tree, em);
if (em->block_start < EXTENT_MAP_LAST_BYTE &&