commit | 87d2846fcf88113fae2341da1ca9a71f0d916f2c | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Wed May 13 16:31:40 2015 -0500 |
committer | Eric W. Biederman <ebiederm@xmission.com> | Wed Jul 01 10:36:45 2015 -0500 |
tree | 5aaf304f79f21e633d2efac5107266ff11dca2a1 | |
parent | ea015218f2f7ace2dad9cedd21ed95bdba2886d7 [diff] |
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: stable@vger.kernel.org Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>