]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxccontainer: update locking comment
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 31 May 2013 12:55:14 +0000 (07:55 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 31 May 2013 16:14:14 +0000 (11:14 -0500)
commit3bc449ed24edc4b754cbe0af19fe878d29731f59
tree7dbd29d27b48611c6ba3476bf0c238cd605005fa
parent73e608b21f73509c5f8c7a948cc6d4b0898edb2c
lxccontainer: update locking comment

Update the LOCKING comment.

Take mem_lock in want_daemonize.

convert lxcapi_destroy to not use privlock/slock by hand.

Fix a coverity-found potential dereference of NULL c->lxc_conf.

api_cgroup_get_item() and api_cgroup_set_item(): use disklock,
not memlock, since the values are set through the cgroup fs on
the running container.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxccontainer.c