diff options
author | Serge E. Hallyn <serge.hallyn@ubuntu.com> | 2016-05-12 08:29:45 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-05-12 18:03:51 +0300 |
commit | 3cc9b23c8137e9bb4eaf6d97d825b7f0dc711d0c (patch) | |
tree | 163de7cbd4f1589c6f72e46e56547712c4eead62 /fs/binfmt_elf_fdpic.c | |
parent | 4f41fc59620fcedaa97cbdf3d7d2956d80fcd922 (diff) | |
download | linux-3cc9b23c8137e9bb4eaf6d97d825b7f0dc711d0c.tar.xz |
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>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions