sysfs: Add support for permanently empty directories to serve as mount points.
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. Cc: firstname.lastname@example.org Acked-by: Greg Kroah-Hartman <email@example.com> Signed-off-by: "Eric W. Biederman" <firstname.lastname@example.org>
Showing with 49 additions and 0 deletions