Message ID | 9d2ede948c70a5b9b64631cddbcd1ae8db8d56ae.1663594828.git.fdmanana@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs: fixes and cleanups around extent maps | expand |
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 024183c7480f..32fe3712ea9d 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -1254,7 +1254,6 @@ static noinline int cow_file_range(struct btrfs_inode *inode, } alloc_hint = get_extent_allocation_hint(inode, start, num_bytes); - btrfs_drop_extent_map_range(inode, start, start + num_bytes - 1, false); /* * Relocation relies on the relocated extents to have exactly the same