commit | 1b2782c8ed24db03ad49942fa37c9f196b7c4af3 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.cz> | Tue Feb 25 19:32:59 2014 +0100 |
committer | Josef Bacik <jbacik@fb.com> | Mon Mar 10 15:16:58 2014 -0400 |
tree | d17bf2906f08350ecb62ec4fe9dce3b843d7609f | |
parent | 176840b3aa3cb795ddec4fc665ffbd707abff906 [diff] |
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>