projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernfs: Convert kernfs_path_from_node_locked() from strlcpy() to strscpy()
[linux-2.6-microblaze.git]
/
kernel
/
cgroup
/
cgroup-v1.c
diff --git
a/kernel/cgroup/cgroup-v1.c
b/kernel/cgroup/cgroup-v1.c
index
76db6c6
..
9cb00eb
100644
(file)
--- a/
kernel/cgroup/cgroup-v1.c
+++ b/
kernel/cgroup/cgroup-v1.c
@@
-802,7
+802,7
@@
void cgroup1_release_agent(struct work_struct *work)
goto out_free;
ret = cgroup_path_ns(cgrp, pathbuf, PATH_MAX, &init_cgroup_ns);
- if (ret < 0
|| ret >= PATH_MAX
)
+ if (ret < 0)
goto out_free;
argv[0] = agentbuf;