summaryrefslogtreecommitdiff
path: root/rbtree_augmented.h
diff options
context:
space:
mode:
authorZhao Lei <zhaolei@cn.fujitsu.com>2015-08-26 22:03:37 +0800
committerDavid Sterba <dsterba@suse.com>2015-09-01 14:02:49 +0200
commit601c5e1b234fa13bbbed89bce3201f81340ff15d (patch)
treed9b744a43f1e9345e3e8cdbed35c30fd38e8afb0 /rbtree_augmented.h
parent298746b9583cf9b70efa5de03a366076e45cfcff (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 'rbtree_augmented.h')
0 files changed, 0 insertions, 0 deletions