Skip to content
Commit 1b2782c8 authored by David Sterba's avatar David Sterba Committed by Josef Bacik
Browse files

btrfs: send: fix old buffer length in fs_path_ensure_buf



In "btrfs: send: lower memory requirements in common case" the code to
save the old_buf_len was incorrectly moved to a wrong place and broke
the original logic.

Reported-by: default avatarFilipe David Manana <fdmanana@gmail.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.cz>
Reviewed-by: default avatarFilipe David Manana <fdmanana@gmail.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fb.com>
parent 176840b3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment