diff options
author | Tejun Heo <tj@kernel.org> | 2016-09-29 11:58:36 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-09-29 15:55:02 +0200 |
commit | 679a5e3f12830392d14f94b04bbe0f3cabdbd773 (patch) | |
tree | 075922558e658517eb69a5276f458ee7e97add06 /block | |
parent | ed1777de25e45bfb58fad63341904f8a77911785 (diff) | |
download | linux-stable-679a5e3f12830392d14f94b04bbe0f3cabdbd773.tar.gz linux-stable-679a5e3f12830392d14f94b04bbe0f3cabdbd773.tar.bz2 linux-stable-679a5e3f12830392d14f94b04bbe0f3cabdbd773.zip |
cpuset: fix error handling regression in proc_cpuset_show()
4c737b41de7f ("cgroup: make cgroup_path() and friends behave in the
style of strlcpy()") botched the conversion of proc_cpuset_show() and
broke its error handling. It made the function return 0 on failures
and fail to handle error returns from cgroup_path_ns(). Fix it.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions