summaryrefslogtreecommitdiff
path: root/block/blk-cgroup.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2016-09-29 15:49:40 +0200
committerTejun Heo <tj@kernel.org>2016-09-29 15:55:16 +0200
commite0223003e6e141533446d01a92784592a97a8552 (patch)
tree3d7ce11cc68859ebd05c0d8196419734eda26b21 /block/blk-cgroup.c
parent679a5e3f12830392d14f94b04bbe0f3cabdbd773 (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 'block/blk-cgroup.c')
0 files changed, 0 insertions, 0 deletions