On Mon, March 25, 2013 at 12:08 (+0100), Wang Shilong wrote:
> From: Wang Shilong
>
> The function btrfs_find_all_roots is responsible to allocate
> memory for 'roots' and free it if errors happen,so the caller should not
> free it again since the work has been done.
>
> Besides,'tmp' is alloca
From: Wang Shilong
The function btrfs_find_all_roots is responsible to allocate
memory for 'roots' and free it if errors happen,so the caller should not
free it again since the work has been done.
Besides,'tmp' is allocated after the function btrfs_find_all_roots,
so we can return directly if bt