btrfs: send: remove stale code when checking for shared extents
authorFilipe Manana <fdmanana@suse.com>
Mon, 11 Jan 2021 11:42:32 +0000 (11:42 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Feb 2021 21:58:51 +0000 (22:58 +0100)
commit9c4a062a94752dabd3954ef39c4dfed581c664b9
tree571ba698fcfdf858ab0daf32ed2cfe24ab9d9d67
parent7056bf69e5a338811738a7932b8e707aaca9fdd0
btrfs: send: remove stale code when checking for shared extents

After commit 040ee6120cb670 ("Btrfs: send, improve clone range") we do not
use anymore the data_offset field of struct backref_ctx, as after that we
do all the necessary checks for the data offset of file extent items at
clone_range(). Since there are no more users of data_offset from that
structure, remove it.

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/send.c