mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-03 02:46:50 +00:00
lxccontainer: non-functional changes
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
5647455516
commit
44619b6cd2
@ -345,7 +345,9 @@ int lxc_container_put(struct lxc_container *c)
|
||||
if (container_mem_lock(c))
|
||||
return -1;
|
||||
|
||||
if (--c->numthreads < 1) {
|
||||
c->numthreads--;
|
||||
|
||||
if (c->numthreads < 1) {
|
||||
container_mem_unlock(c);
|
||||
lxc_container_free(c);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user