tree-wide: s/lxc_fini()/lxc_end()/g

parent 0c5859ff
......@@ -1135,7 +1135,7 @@ static void do_restore(struct lxc_container *c, int status_pipe, struct migrate_
ret = lxc_poll(c->name, handler);
if (ret)
lxc_abort(handler);
lxc_fini(handler);
lxc_end(handler);
_exit(ret);
}
......@@ -1145,7 +1145,7 @@ out_fini_handler:
if (pipes[1] >= 0)
close(pipes[1]);
lxc_fini(handler);
lxc_end(handler);
out:
if (status_pipe >= 0) {
......
......@@ -860,7 +860,7 @@ out_restore_sigmask:
return -1;
}
void lxc_fini(struct lxc_handler *handler)
void lxc_end(struct lxc_handler *handler)
{
int ret;
pid_t self;
......@@ -2007,7 +2007,7 @@ __private_goto2:
detach_block_device(handler->conf);
__private_goto3:
lxc_fini(handler);
lxc_end(handler);
return ret;
......
......@@ -150,7 +150,7 @@ extern struct lxc_handler *lxc_init_handler(const char *name,
extern void lxc_zero_handler(struct lxc_handler *handler);
extern void lxc_free_handler(struct lxc_handler *handler);
extern int lxc_init(const char *name, struct lxc_handler *handler);
extern void lxc_fini(struct lxc_handler *handler);
extern void lxc_end(struct lxc_handler *handler);
/* lxc_check_inherited: Check for any open file descriptors and close them if
* requested.
......
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