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:Filipe David Manana <fdmanana@gmail.com> Signed-off-by:
David Sterba <dsterba@suse.cz> Reviewed-by:
Filipe David Manana <fdmanana@gmail.com> Signed-off-by:
Josef Bacik <jbacik@fb.com>
Showing
Please register or sign in to comment