]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: send: add and use helper to rename current inode when processing refs
authorFilipe Manana <fdmanana@suse.com>
Wed, 12 Feb 2025 11:49:47 +0000 (11:49 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:45 +0000 (20:35 +0100)
commitec666c84deba56f714505b53556a97565f72db86
tree5e5dd2cfd22f935ddf2bf7c8a8d3a022ab094c06
parent9453fe329789073d9a971de01da5902c32c1a01a
btrfs: send: add and use helper to rename current inode when processing refs

Extract the logic to rename the current inode at process_recorded_refs()
into a helper function and use it, therefore removing duplicated logic
and making it easier for an upcoming patch by avoiding yet more duplicated
logic.

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