diff options
author | Tejun Heo <tj@kernel.org> | 2016-02-18 17:44:24 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-02-18 17:44:24 +0100 |
commit | d22025570e2ebfc68819b35c5d457e53d9337217 (patch) | |
tree | 49dcdad014b56c6f87a6cc74c528dc7754720d1f /Documentation/hwmon | |
parent | Add FS_USERNS_FLAG to cgroup fs (diff) | |
download | linux-d22025570e2ebfc68819b35c5d457e53d9337217.tar.xz linux-d22025570e2ebfc68819b35c5d457e53d9337217.zip |
cgroup: fix alloc_cgroup_ns() error handling in copy_cgroup_ns()
alloc_cgroup_ns() returns an ERR_PTR value on error but
copy_cgroup_ns() was checking for NULL for error. Fix it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions