From: Eric W. Biederman Date: Wed, 13 May 2015 21:31:40 +0000 (-0500) Subject: sysfs: Add support for permanently empty directories to serve as mount points. X-Git-Tag: omap-for-v4.2/fixes-rc1^2~19^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87d2846fcf88113fae2341da1ca9a71f0d916f2c;p=pandora-kernel.git 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 Signed-off-by: "Eric W. Biederman" --- Reading git-diff-tree failed