aboutsummaryrefslogtreecommitdiffstats
path: root/fs/kernfs/kernfs-internal.h
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2013-12-11 21:02:55 +0000
committerGreg Kroah-Hartman <[email protected]>2013-12-17 16:59:15 +0000
commitbb8b9d095c5c56cce99576cfef0cf9b989f7120d (patch)
tree9cc1ae8c8954de2d0dbb0b0f4c29a411d4716809 /fs/kernfs/kernfs-internal.h
parentkernfs: s/sysfs/kernfs/ in internal functions and whatever is left (diff)
downloadkernel-bb8b9d095c5c56cce99576cfef0cf9b989f7120d.tar.gz
kernel-bb8b9d095c5c56cce99576cfef0cf9b989f7120d.zip
kernfs: add @mode to kernfs_create_dir[_ns]()
sysfs assumed 0755 for all newly created directories and kernfs inherited it. This assumption is unnecessarily restrictive and inconsistent with kernfs_create_file[_ns](). This patch adds @mode parameter to kernfs_create_dir[_ns]() and update uses in sysfs accordingly. Among others, this will be useful for implementations of the planned ->mkdir() method. This patch doesn't introduce any behavior differences. Signed-off-by: Tejun Heo <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/kernfs/kernfs-internal.h')
0 files changed, 0 insertions, 0 deletions