commit | e0223003e6e141533446d01a92784592a97a8552 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Thu Sep 29 15:49:40 2016 +0200 |
committer | Tejun Heo <tj@kernel.org> | Thu Sep 29 15:55:16 2016 +0200 |
tree | 3d7ce11cc68859ebd05c0d8196419734eda26b21 | |
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>