Btrfs: remove extra drop_extent_cache call
authorChris Mason <chris.mason@oracle.com>
Thu, 30 Aug 2007 16:16:51 +0000 (12:16 -0400)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Thu, 30 Aug 2007 16:16:51 +0000 (12:16 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c

index 07b121d4bd930f6a6996126b94b186c52a881b86..acef8cb7fb791253c4de3a2bb31c73eeb2b83679 100644 (file)
@@ -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);