linux/fs/kernfs
Serge E. Hallyn 3cc9b23c81 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>
2016-05-12 11:03:51 -04:00
..
Kconfig
Makefile
dir.c kernfs_path_from_node_locked: don't overwrite nlen 2016-05-02 12:36:00 -04:00
file.c
inode.c tmpfs: listxattr should include POSIX ACL xattrs 2015-12-06 21:34:15 -05:00
kernfs-internal.h
mount.c kernfs: kernfs_sop_show_path: don't return 0 after seq_dentry call 2016-05-12 11:03:51 -04:00
symlink.c switch ->get_link() to delayed_call, kill ->put_link() 2015-12-30 13:01:03 -05:00