-
- Downloads
sysfs, kernfs: introduce kernfs_remove[_by_name[_ns]]()
Introduce kernfs removal interfaces - kernfs_remove() and kernfs_remove_by_name[_ns](). These are just renames of sysfs_remove() and sysfs_hash_and_remove(). No functional changes. v2: Dummy kernfs_remove_by_name_ns() for !CONFIG_SYSFS updated to return -ENOSYS instead of 0. Signed-off-by:Tejun Heo <tj@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
- fs/sysfs/dir.c 10 additions, 10 deletionsfs/sysfs/dir.c
- fs/sysfs/file.c 3 additions, 3 deletionsfs/sysfs/file.c
- fs/sysfs/group.c 7 additions, 8 deletionsfs/sysfs/group.c
- fs/sysfs/symlink.c 2 additions, 2 deletionsfs/sysfs/symlink.c
- fs/sysfs/sysfs.h 0 additions, 3 deletionsfs/sysfs/sysfs.h
- include/linux/kernfs.h 24 additions, 0 deletionsinclude/linux/kernfs.h
Loading
Please register or sign in to comment