attach: s/attach_child_main/do_attach/g

Cc: stable-4.0 Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 7444657c
...@@ -644,7 +644,7 @@ static void lxc_put_attach_clone_payload(struct attach_clone_payload *p) ...@@ -644,7 +644,7 @@ static void lxc_put_attach_clone_payload(struct attach_clone_payload *p)
} }
} }
static int attach_child_main(struct attach_clone_payload *payload) static int do_attach(struct attach_clone_payload *payload)
{ {
int lsm_fd, ret; int lsm_fd, ret;
uid_t new_uid; uid_t new_uid;
...@@ -1223,7 +1223,7 @@ int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function, ...@@ -1223,7 +1223,7 @@ int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function,
} }
} }
ret = attach_child_main(&payload); ret = do_attach(&payload);
if (ret < 0) if (ret < 0)
ERROR("Failed to exec"); ERROR("Failed to exec");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment