diff options
| author | Tejun Heo <tj@kernel.org> | 2026-09-02 13:03:11 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-09-08 09:28:32 -1000 |
| commit | 22098e3b6f7260860d61523a8dc2964b40559763 (patch) | |
| tree | 23941b10bfd69196984097542bd92a17ddc44cdd /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 93fccdb0456d963f0a7c515562eaf53dfe07f9c7 (diff) | |
| download | linux-next-22098e3b6f7260860d61523a8dc2964b40559763.tar.gz linux-next-22098e3b6f7260860d61523a8dc2964b40559763.zip | |
cgroup: Return -ENODEV consistently for a dead cgroup
cgroup_kn_lock_live() returns NULL when the cgroup behind a kernfs node has
already been removed. Most callers turn that into -ENODEV, but the
cgroup.type, cgroup.max.descendants, cgroup.max.depth, cgroup.pressure,
cgroup.freeze and cgroup.kill writers return -ENOENT. The divergence is
accidental. Return -ENODEV from all of them, matching cgroup.procs and
cgroup.subtree_control.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
