diff options
author | Serge E. Hallyn <serge.hallyn@ubuntu.com> | 2016-05-12 00:29:45 -0500 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2022-10-28 15:39:24 +0100 |
commit | dc81f3963dde5a6193f69cafa8ec73e7ba72223f (patch) | |
tree | 645a4320389c6b739e9c36713b093d32a358a472 /include/linux/bpf-cgroup.h | |
parent | ce9a52e20897955fac0c3586b9ab66e7947c0a70 (diff) |
kernfs: kernfs_sop_show_path: don't return 0 after seq_dentry call
Our caller expects 0 on success, not >0.
This fixes a bug in the patch
cgroup, kernfs: make mountinfo show properly scoped path for cgroup namespaces
where /sys does not show up in mountinfo, breaking criu.
Thanks for catching this, Andrei.
Reported-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Change-Id: I3cf5886bf7a77a943a6540c4b224dd0ca805dca6
Diffstat (limited to 'include/linux/bpf-cgroup.h')
0 files changed, 0 insertions, 0 deletions