sysfs, kernfs: introduce kernfs_remove[_by_name[_ns]]()
authorTejun Heo <tj@kernel.org>
Sat, 23 Nov 2013 22:21:49 +0000 (17:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Nov 2013 21:57:56 +0000 (13:57 -0800)
commit879f40d193bb3c6c13930e88e3e9d5d7baf84d19
treeb09863db44998ae61f572f816e93100cb56250cc
parentb8441ed279bff09a0a5ddeacf8f4087d2fb424ca
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>
fs/sysfs/dir.c
fs/sysfs/file.c
fs/sysfs/group.c
fs/sysfs/symlink.c
fs/sysfs/sysfs.h
include/linux/kernfs.h
This page took 0.025355 seconds and 5 git commands to generate.