On 2018年05月18日 11:00, Liu Bo wrote:
> read_block_for_search() can be simplified as,
>
> tmp = find_extent_buffer();
> if (tmp)
>return;
>
> free_extent_buffer();
> read_tree_block();
>
> Apparently, @tmp must be NULL at this point, free_extent_buffer() is not
> needed.>
> Signed-off-by:
read_block_for_search() can be simplified as,
tmp = find_extent_buffer();
if (tmp)
return;
free_extent_buffer();
read_tree_block();
Apparently, @tmp must be NULL at this point, free_extent_buffer() is not
needed.
Signed-off-by: Liu Bo
---
fs/btrfs/ctree.c | 1 -