mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-06-14 08:48:29 +00:00
Change freezer to stick with the cgroup freezer fs API, replace "RUNNING" by "THAWED"
This commit is contained in:
parent
ab192b72b6
commit
19df00c503
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
static int freeze_unfreeze(const char *name, int freeze)
|
static int freeze_unfreeze(const char *name, int freeze)
|
||||||
{
|
{
|
||||||
char freezer[MAXPATHLEN], *f = freeze?"FROZEN":"RUNNING";
|
char freezer[MAXPATHLEN], *f = freeze?"FROZEN":"THAWED";
|
||||||
int fd, ret = -1;
|
int fd, ret = -1;
|
||||||
|
|
||||||
snprintf(freezer, MAXPATHLEN,
|
snprintf(freezer, MAXPATHLEN,
|
||||||
|
Loading…
Reference in New Issue
Block a user