2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/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
..
dir.c kernfs_path_from_node_locked: don't overwrite nlen 2016-05-02 12:36:00 -04:00
file.c kernfs: remove outdated and confusing comment 2015-05-24 12:28:29 -07:00
inode.c tmpfs: listxattr should include POSIX ACL xattrs 2015-12-06 21:34:15 -05:00
Kconfig kernfs: add CONFIG_KERNFS 2014-02-07 16:08:57 -08:00
kernfs-internal.h kernfs: make kernfs_get_inode() public 2015-06-18 16:54:28 -04:00
Makefile
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