Explorar o código

Btrfs: remove extra drop_extent_cache call

Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason %!s(int64=18) %!d(string=hai) anos
pai
achega
8e21528f87
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      fs/btrfs/file.c

+ 0 - 2
fs/btrfs/file.c

@@ -406,8 +406,6 @@ next_slot:
 			keep = 1;
 			keep = 1;
 			WARN_ON(start & (root->blocksize - 1));
 			WARN_ON(start & (root->blocksize - 1));
 			if (found_extent) {
 			if (found_extent) {
-				btrfs_drop_extent_cache(inode, key.offset,
-							start - 1 );
 				new_num = (start - key.offset) >>
 				new_num = (start - key.offset) >>
 					inode->i_blkbits;
 					inode->i_blkbits;
 				old_num = btrfs_file_extent_num_blocks(extent);
 				old_num = btrfs_file_extent_num_blocks(extent);