[CRIU] [PATCH 1/5] pstree: Init pstree_item::list inside __alloc_pstree_item

Cyrill Gorcunov gorcunov at openvz.org
Wed Oct 3 04:57:29 EDT 2012


This is a bit fishy that we do init @children list here
but not @list itself. Better be solid and init everything
in one place.

Also no need to poke @threads and @nr_threads, we're using
xzalloc here anyway.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 pstree.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pstree-Init-pstree_item-list-inside-__alloc_pstree_i.patch
Type: text/x-patch
Size: 567 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20121003/8438e64b/0001-pstree-Init-pstree_item-list-inside-__alloc_pstree_i.bin


More information about the CRIU mailing list