summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-08-30 12:16:51 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-08-30 12:16:51 -0400
commit8e21528f87854314792aaef4d279bc9e5a9be997 (patch)
tree2f65f82188c51ecdaa8e660012998ffb83db1f26
parent2bf5a725a3b82efeaf7b292c085e69a9388a89ea (diff)
Btrfs: remove extra drop_extent_cache call
Signed-off-by: Chris Mason <chris.mason@oracle.com>
-rw-r--r--fs/btrfs/file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 07b121d4bd93..acef8cb7fb79 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -406,8 +406,6 @@ next_slot:
keep = 1;
WARN_ON(start & (root->blocksize - 1));
if (found_extent) {
- btrfs_drop_extent_cache(inode, key.offset,
- start - 1 );
new_num = (start - key.offset) >>
inode->i_blkbits;
old_num = btrfs_file_extent_num_blocks(extent);