vfs_snapper: use a talloc hierarchy for arrays
authorDavid Disseldorp <ddiss@samba.org>
Mon, 30 Jun 2014 12:40:14 +0000 (14:40 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 30 Jun 2014 19:41:12 +0000 (21:41 +0200)
commitf0f18c56c68325e9a1cf9b422d270a8787c980ba
tree728ffbeec7693c43b8665cd389c8e3f73c3b9a52
parent224e1c105be2ecf2c02ca9cd3e8bb9660ea932aa
vfs_snapper: use a talloc hierarchy for arrays

Currently the config and snapshot array entries are freed individually.
A talloc hierarchy can be used to avoid this behaviour.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Jun 30 21:41:13 CEST 2014 on sn-devel-104
source3/modules/vfs_snapper.c