[06/14] pid_ns: Rename do_destroy_pid_ns_helper()

Submitted by Kirill Tkhai on May 15, 2017, 1:05 p.m.

Details

Message ID 149485352402.681.5469952474819578679.stgit@localhost.localdomain
State New
Series "Refactor pid_ns helpers creation"
Headers show

Commit Message

Kirill Tkhai May 15, 2017, 1:05 p.m.
It must sound do_destroy_pid_ns_helpers() with *s*.

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

Patch hide | download patch | download mbox

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;
 	}