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: NFilipe David Manana <fdmanana@gmail.com> Signed-off-by: NDavid Sterba <dsterba@suse.cz> Reviewed-by: NFilipe David Manana <fdmanana@gmail.com> Signed-off-by: NJosef Bacik <jbacik@fb.com>
Showing
想要评论请 注册 或 登录