runc/cgroups
Andrey Vagin 02c1de6f11 cgroups: set a freezer state before calling FreezerGroup.Set()
My previous patch moved the setting of the freezer state after the Set()
command. It's wrong, because this command uses it, so we need to set the
freezer state before the command and rollback it in an error case.

Fixes: 13a5703 ("cgroups: don't change a freezer state if an operation failed")

Signed-off-by: Andrey Vagin <avagin@openvz.org>
2015-01-19 17:38:26 +03:00
..
fs cgroups: set a freezer state before calling FreezerGroup.Set() 2015-01-19 17:38:26 +03:00
manager cgroups: add TODO before NewCgroupManager() 2015-01-15 01:45:49 +03:00
systemd cgroups: Add comments for methods of cgroup managers 2015-01-15 01:45:49 +03:00
cgroups.go cgroups: Add comments for methods of cgroup managers 2015-01-15 01:45:49 +03:00
cgroups_test.go pkg/cgroups: Export ParseCgroupFile 2014-10-07 15:55:58 +02:00
stats.go Fix typo in json tag 2014-11-11 23:34:55 +00:00
utils.go Move RemovePaths into cgroups pkg for reuse 2014-11-17 11:56:19 -08:00