diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-08-26 22:03:37 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-09-01 14:02:49 +0200 |
commit | 601c5e1b234fa13bbbed89bce3201f81340ff15d (patch) | |
tree | d9b744a43f1e9345e3e8cdbed35c30fd38e8afb0 /Documentation/btrfs-image.asciidoc | |
parent | 298746b9583cf9b70efa5de03a366076e45cfcff (diff) |
btrfs-progs: Simplify memory allocation for enumerate_dead_subvols
No need prepare memory for enumerate_dead_subvols() in caller, and pass
additional argument for allocated length.
Just do every thing inside enumerate_dead_subvols(), it will not
increase malloc count, but make code simple.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation/btrfs-image.asciidoc')
0 files changed, 0 insertions, 0 deletions