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)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 1 Jul 2015 15:36:47 +0000 (10:36 -0500)
commitf9bb48825a6b5d02f4cabcc78967c75db903dcdc
tree4883ba33a67bb07e6c9611b4b7a818c428c73ec7
parent87d2846fcf88113fae2341da1ca9a71f0d916f2c
sysfs: Create mountpoints with sysfs_create_mount_point

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

Cc: stable@vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
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
fs/tracefs/inode.c
kernel/cgroup.c
security/inode.c
security/selinux/selinuxfs.c
security/smack/smackfs.c