linux/fs/sysfs
Eric W. Biederman ccf3400764 sysfs: Add support for permanently empty directories to serve as mount points.
commit 87d2846fcf upstream.

Add two functions sysfs_create_mount_point and
sysfs_remove_mount_point that hang a permanently empty directory off
of a kobject or remove a permanently emptpy directory hanging from a
kobject.  Export these new functions so modular filesystems can use
them.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2015-07-15 10:01:07 +01:00
..
dir.c sysfs: Add support for permanently empty directories to serve as mount points. 2015-07-15 10:01:07 +01:00
file.c sysfs: make sure read buffer is zeroed 2014-05-20 10:15:53 +09:00
group.c sysfs: fix attribute_group bin file path on removal 2014-05-27 14:33:17 -07:00
Kconfig kernfs: add CONFIG_KERNFS 2014-02-07 16:08:57 -08:00
Makefile sysfs, kernfs: move inode code to fs/kernfs/inode.c 2013-11-29 17:55:10 -08:00
mount.c mnt: Refactor the logic for mounting sysfs and proc in a user namespace 2015-07-09 14:36:04 +01:00
symlink.c kernfs: s/sysfs/kernfs/ in constants 2013-12-11 17:39:20 -08:00
sysfs.h kernfs: s/sysfs_dirent/kernfs_node/ and rename its friends accordingly 2013-12-11 15:28:36 -08:00