]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde9c51c6a9c2cce3b9c2c16797d77c5b3e472bae
tree571ba698fcfdf858ab0daf32ed2cfe24ab9d9d67
parenta1b364fc63750b87431762a6843988924d34d2b4
btrfs: send: remove stale code when checking for shared extents

After commit c2454d55f092be ("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