diff options
author | Tejun Heo <tj@kernel.org> | 2016-09-29 13:49:40 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-09-29 13:55:16 (GMT) |
commit | e0223003e6e141533446d01a92784592a97a8552 (patch) | |
tree | 3d7ce11cc68859ebd05c0d8196419734eda26b21 /fs | |
parent | 679a5e3f12830392d14f94b04bbe0f3cabdbd773 (diff) | |
download | linux-e0223003e6e141533446d01a92784592a97a8552.tar.xz |
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 'fs')
0 files changed, 0 insertions, 0 deletions