runc/cgroups/fs
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
..
apply_raw.go cgroups: set a freezer state before calling FreezerGroup.Set() 2015-01-19 17:38:26 +03:00
blkio.go ADDITIONAL CGROUPS BLKIO STATS 2014-10-21 06:28:08 +00:00
blkio_test.go ADDITIONAL CGROUPS BLKIO STATS 2014-10-21 06:28:08 +00:00
cpu.go Enter cgroups as part of nsenter while using systemd. 2014-08-13 23:26:27 +00:00
cpu_test.go Use blkio.throttle.* stats when CFQ is not in use 2014-08-27 15:01:46 +02:00
cpuacct.go Saturate negative memory stat values at '0'. 2014-09-24 16:47:41 +00:00
cpuset.go Always join fs.Cpuset reguardless of value 2014-11-17 19:06:20 -08:00
devices.go Enter cgroups as part of nsenter while using systemd. 2014-08-13 23:26:27 +00:00
freezer.go Change not found error to be typed with cgroup subsystem 2014-08-20 10:32:01 -07:00
memory.go Saturate negative memory stat values at '0'. 2014-09-24 16:47:41 +00:00
memory_test.go Use blkio.throttle.* stats when CFQ is not in use 2014-08-27 15:01:46 +02:00
notify_linux.go Fix nits on chan direction and defer 2014-06-24 12:08:03 -07:00
notify_linux_test.go Add fs.NotifyOnOOM for out-of-memory notifications 2014-06-19 12:27:34 +02:00
perf_event.go Change not found error to be typed with cgroup subsystem 2014-08-20 10:32:01 -07:00
stats_util_test.go ADDITIONAL CGROUPS BLKIO STATS 2014-10-21 06:28:08 +00:00
util_test.go Only import "testing" from *_test.go 2014-07-30 18:15:12 +02:00
utils.go Saturate negative memory stat values at '0'. 2014-09-24 16:47:41 +00:00
utils_test.go Fix vet errors 2014-11-05 15:38:58 -08:00