[CRIU] [PATCH] mount: mnt_entry_alloc -- Don't forget to init @mnt_slave
Cyrill Gorcunov
gorcunov at openvz.org
Thu Aug 27 07:17:30 PDT 2015
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
mount.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mount.c b/mount.c
index 3f8fe81f60bb..478e71d86c15 100644
--- a/mount.c
+++ b/mount.c
@@ -2268,6 +2268,7 @@ struct mount_info *mnt_entry_alloc()
INIT_LIST_HEAD(&new->children);
INIT_LIST_HEAD(&new->siblings);
INIT_LIST_HEAD(&new->mnt_slave_list);
+ INIT_LIST_HEAD(&new->mnt_slave);
INIT_LIST_HEAD(&new->mnt_share);
INIT_LIST_HEAD(&new->mnt_bind);
INIT_LIST_HEAD(&new->postpone);
--
2.4.3
More information about the CRIU
mailing list