[CFT][PATCH 08/10] sysfs: Add support for permanently empty directories to serve as mount points.
gregkh at linuxfoundation.org
Mon May 18 13:14:39 UTC 2015
On Fri, May 15, 2015 at 09:09:53PM -0500, Eric W. Biederman wrote:
> 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 at vger.kernel.org
> Signed-off-by: "Eric W. Biederman" <ebiederm at xmission.com>
> fs/sysfs/dir.c | 34 ++++++++++++++++++++++++++++++++++
> include/linux/sysfs.h | 16 ++++++++++++++++
> 2 files changed, 50 insertions(+)
Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
More information about the Containers