[CRIU] [PATCH 1/2] mount: Simplify mnt_entry_alloc

Cyrill Gorcunov gorcunov at openvz.org
Tue Jun 4 02:44:25 EDT 2013


Allocate it with xzalloc instead of massive
NULL assignment. Moreover, don't forget to
initialize @siblings.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 mount.c | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mount-Simplify-mnt_entry_alloc.patch
Type: text/x-patch
Size: 561 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130604/ee9bf4a8/attachment.bin>


More information about the CRIU mailing list