Commit 8e21528f authored by Chris Mason's avatar Chris Mason Committed by David Woodhouse

Btrfs: remove extra drop_extent_cache call

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 2bf5a725
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment