OSDN Git Service

sysfs: Create mountpoints with sysfs_create_mount_point
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 13 May 2015 22:35:41 +0000 (17:35 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2015 17:10:11 +0000 (10:10 -0700)
commitab873f188eeb7077fa6e904f22d63e4350bb02ed
tree729c2ae7566d35aaa45efc4d52e89c058d8c7770
parent755ff2b4fcdb5ef50b4ee48b70f0d8dd22643971
sysfs: Create mountpoints with sysfs_create_mount_point

commit f9bb48825a6b5d02f4cabcc78967c75db903dcdc upstream.

This allows for better documentation in the code and
it allows for a simpler and fully correct version of
fs_fully_visible to be written.

The mount points converted and their filesystems are:
/sys/hypervisor/s390/       s390_hypfs
/sys/kernel/config/         configfs
/sys/kernel/debug/          debugfs
/sys/firmware/efi/efivars/  efivarfs
/sys/fs/fuse/connections/   fusectl
/sys/fs/pstore/             pstore
/sys/kernel/tracing/        tracefs
/sys/fs/cgroup/             cgroup
/sys/kernel/security/       securityfs
/sys/fs/selinux/            selinuxfs
/sys/fs/smackfs/            smackfs

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/hypfs/inode.c
drivers/firmware/efi/efi.c
fs/configfs/mount.c
fs/debugfs/inode.c
fs/fuse/inode.c
fs/pstore/inode.c
kernel/cgroup.c
security/inode.c
security/selinux/selinuxfs.c
security/smack/smackfs.c