diff options
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/file.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 0e3a13a45653..90268334145e 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c | |||
@@ -556,10 +556,6 @@ next_slot: | |||
556 | inode_sub_bytes(inode, old_num - | 556 | inode_sub_bytes(inode, old_num - |
557 | new_num); | 557 | new_num); |
558 | } | 558 | } |
559 | if (!compression && !encryption) { | ||
560 | btrfs_set_file_extent_ram_bytes(leaf, | ||
561 | extent, new_num); | ||
562 | } | ||
563 | btrfs_set_file_extent_num_bytes(leaf, | 559 | btrfs_set_file_extent_num_bytes(leaf, |
564 | extent, new_num); | 560 | extent, new_num); |
565 | btrfs_mark_buffer_dirty(leaf); | 561 | btrfs_mark_buffer_dirty(leaf); |