]> git.ipfire.org Git - thirdparty/lxc.git/commit
create a new lxc_check_lock function
authorMichel Normand <normand@fr.ibm.com>
Sun, 17 May 2009 11:43:51 +0000 (13:43 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Sun, 17 May 2009 11:43:51 +0000 (13:43 +0200)
commit305dbab7e69c94f9abe2f343f9398b48c7c900d8
tree80364e4a388f4beea697ceac8fe978b3e9b4eb40
parentd737c0749582e05e29a6da8c177cc21515ddb50e
create a new lxc_check_lock function

added in src/lock.c to replace call to lxc_get_lock and lxc_put_lock,
when only need to check if container is active or not.

Signed-off-by: Michel Normand <normand@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/checkpoint.c
src/lxc/lock.c
src/lxc/lock.h
src/lxc/lxc_stop.c
src/lxc/stop.c