summaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorEric W. Biederman2015-05-13 23:09:29 +0200
committerEric W. Biederman2015-07-01 17:36:43 +0200
commitea015218f2f7ace2dad9cedd21ed95bdba2886d7 (patch)
tree9ab4dc58398a5ef08b174871a9cc587680261b65 /fs/sysfs
parentproc: Allow creating permanently empty directories that serve as mount points (diff)
downloadkernel-qcow2-linux-ea015218f2f7ace2dad9cedd21ed95bdba2886d7.tar.gz
kernel-qcow2-linux-ea015218f2f7ace2dad9cedd21ed95bdba2886d7.tar.xz
kernel-qcow2-linux-ea015218f2f7ace2dad9cedd21ed95bdba2886d7.zip
kernfs: Add support for always empty directories.
Add a new function kernfs_create_empty_dir that can be used to create directory that can not be modified. Update the code to use make_empty_dir_inode when reporting a permanently empty directory to the vfs. Update the code to not allow adding to permanently empty directories. Cc: stable@vger.kernel.org Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions