[CRIU] [PATCH 06/14] pid_ns: Rename do_destroy_pid_ns_helper()

Kirill Tkhai ktkhai at virtuozzo.com
Mon May 15 06:05:24 PDT 2017


It must sound do_destroy_pid_ns_helpers() with *s*.

Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 criu/namespaces.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/criu/namespaces.c b/criu/namespaces.c
index 103235c74..b922d376f 100644
--- a/criu/namespaces.c
+++ b/criu/namespaces.c
@@ -2756,7 +2756,7 @@ int create_pid_ns_helper(struct ns_id *ns)
 	return 0;
 }
 
-static int do_destroy_pid_ns_helper(void *arg, int fd, pid_t unused)
+static int do_destroy_pid_ns_helpers(void *arg, int fd, pid_t unused)
 {
 	int status, sig_blocked = true, ret = 0;
 	sigset_t sig_mask;
@@ -2805,7 +2805,7 @@ int destroy_pid_ns_helpers(void)
 	if (!(root_ns_mask & CLONE_NEWPID))
 		return 0;
 
-	if (userns_call(do_destroy_pid_ns_helper, 0, NULL, 0, -1) < 0) {
+	if (userns_call(do_destroy_pid_ns_helpers, 0, NULL, 0, -1) < 0) {
 		pr_err("Can't create pid_ns helper\n");
 		return -1;
 	}



More information about the CRIU mailing list