Skip to content
Commit bbdff348 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov
Browse files

cgroup: don't overwrite the offset value in a loop (v2)



prepare_cgroup_dirs() gets a path and an offset.
Then we add substrings to the source string and handle them.

v2: fix one more place in prepare_cgroup_dir_properties()

Cc: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: default avatarAndrew Vagin <avagin@openvz.org>
Acked-by: default avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 14c65e91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment