summaryrefslogtreecommitdiffstats
path: root/security/smack/smackfs.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-05-13 23:31:40 +0200
committerEric W. Biederman <ebiederm@xmission.com>2015-07-01 17:36:45 +0200
commit87d2846fcf88113fae2341da1ca9a71f0d916f2c (patch)
tree5aaf304f79f21e633d2efac5107266ff11dca2a1 /security/smack/smackfs.c
parentkernfs: Add support for always empty directories. (diff)
downloadlinux-87d2846fcf88113fae2341da1ca9a71f0d916f2c.tar.xz
linux-87d2846fcf88113fae2341da1ca9a71f0d916f2c.zip
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>
Diffstat (limited to 'security/smack/smackfs.c')
0 files changed, 0 insertions, 0 deletions