Skip to content

Commit

Permalink
Btrfs: remove extra drop_extent_cache call
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Chris Mason authored and David Woodhouse committed Aug 30, 2007
1 parent 2bf5a72 commit 8e21528
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/btrfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,6 @@ int btrfs_drop_extents(struct btrfs_trans_handle *trans,
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);
Expand Down

0 comments on commit 8e21528

Please sign in to comment.