]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: remove pointless data_end assignment in btrfs_extent_item()
authorFilipe Manana <fdmanana@suse.com>
Thu, 16 Oct 2025 10:22:57 +0000 (11:22 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Nov 2025 21:03:02 +0000 (22:03 +0100)
commitca428e9b49c77b0bfc6ebbc8536ed854463b26e2
tree9c52f8da7325c4633915f67604ec45981be5037d
parentaf1e800c0244a04f5eb0993745c23d974f262628
btrfs: remove pointless data_end assignment in btrfs_extent_item()

There's no point in setting 'data_end' to 'old_data' as we don't use it
afterwards. So remove the redundant assignment which was never needed
and added when the function was first added in commit 6567e837df07
("Btrfs: early work to file_write in big extents").

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c