diff options
author | Tejun Heo | 2016-09-29 15:49:40 +0200 |
---|---|---|
committer | Tejun Heo | 2016-09-29 15:55:16 +0200 |
commit | e0223003e6e141533446d01a92784592a97a8552 (patch) | |
tree | 3d7ce11cc68859ebd05c0d8196419734eda26b21 /include | |
parent | 679a5e3f12830392d14f94b04bbe0f3cabdbd773 (diff) |
cgroup: fix error handling regressions in proc_cgroup_show() and cgroup_release_agent()
4c737b41de7f ("cgroup: make cgroup_path() and friends behave in the
style of strlcpy()") broke error handling in proc_cgroup_show() and
cgroup_release_agent() by not handling negative return values from
cgroup_path_ns_locked(). Fix it.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions