Skip to content

Commit 7983199

Browse files
author
Tomasz Duda
committed
update comment
Signed-off-by: Tomasz Duda <[email protected]>
1 parent 91c54ed commit 7983199

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libcontainer/cgroups/fs/cpuset.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ func getCpusetFile(path string, name string) string {
2727

2828
// only allowed cgroup to mount with no prefix is v1 cpuset
2929
// https://github.com/torvalds/linux/blob/2e1b3cc9d7f790145a80cb705b168f05dab65df2/kernel/cgroup/cgroup-v1.c#L1070
30-
// it cannot be mounted with and without prefix at the same time. it happens to be used on Android.
30+
// it cannot be mounted with and without prefix at the same time
31+
// it happens to be used on Android.
3132

3233
if !cpusetFastPath {
3334
fd, err := cgroups.OpenFile(path, "cpuset."+name, unix.O_RDONLY)

0 commit comments

Comments
 (0)