summaryrefslogtreecommitdiff
path: root/fs/sysfs
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-05-13 16:09:29 -0500
committerLuis Henriques <luis.henriques@canonical.com>2015-07-15 10:01:07 +0100
commit4e6378f17c02560f052a0fae6e7c2fc1647d06ba (patch)
treeb56404c594c763281714955d7f4f5e08d8d35ac4 /fs/sysfs
parentece47480151b7310a05556aa24ea394212704dfe (diff)
kernfs: Add support for always empty directories.
commit ea015218f2f7ace2dad9cedd21ed95bdba2886d7 upstream. 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. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions