summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAvi Weiss <thnkslprpt@gmail.com>2026-08-10 12:47:01 +0300
committerDavid Sterba <dsterba@suse.com>2026-09-02 22:19:30 +0200
commitd0285dfbc3b46f41395b26ee2f4a16d99fb3e736 (patch)
treef30604f57f701b51d3de4ddac617f821356da9a3 /scripts/Makefile.thinlto
parent529c01c3dc0d322c103611c35b01d71ea04562b2 (diff)
downloadlinux-stable-d0285dfbc3b46f41395b26ee2f4a16d99fb3e736.tar.gz
linux-stable-d0285dfbc3b46f41395b26ee2f4a16d99fb3e736.zip
btrfs: send: fix lost error return value in will_overwrite_ref()
The direct-return refactoring in commit b3047a42f55d ("btrfs: send: directly return from will_overwrite_ref() and simplify it") changed will_overwrite_ref() to return directly instead of going through the common out label. That resulted in a negative return value from is_inode_existent() to start being converted to 0, making lookup errors unable to be distinguished from the inode not existing. process_recorded_refs() expects negative errors from will_overwrite_ref() and aborts processing when it receives one. Return the value from is_inode_existent() to restore the previous error propagation behavior as it was before the refactor. Fixes: b3047a42f55d ("btrfs: send: directly return from will_overwrite_ref() and simplify it") Signed-off-by: Avi Weiss <thnkslprpt@gmail.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions