[CRIU] [PATCH] criu: opts -- Shuffle init_opts order

Cyrill Gorcunov gorcunov at openvz.org
Wed Apr 6 08:06:38 PDT 2016


To match them in struct cr_options declaration.
No func change.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 criu/crtools.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/crtools.c b/criu/crtools.c
index 92eae7756985..5d9647ad25c8 100644
--- a/criu/crtools.c
+++ b/criu/crtools.c
@@ -59,9 +59,9 @@ void init_opts(void)
 	INIT_LIST_HEAD(&opts.veth_pairs);
 	INIT_LIST_HEAD(&opts.scripts);
 	INIT_LIST_HEAD(&opts.ext_mounts);
-	INIT_LIST_HEAD(&opts.join_ns);
 	INIT_LIST_HEAD(&opts.inherit_fds);
 	INIT_LIST_HEAD(&opts.external);
+	INIT_LIST_HEAD(&opts.join_ns);
 	INIT_LIST_HEAD(&opts.new_cgroup_roots);
 	INIT_LIST_HEAD(&opts.irmap_scan_paths);
 
-- 
2.5.5



More information about the CRIU mailing list