sysfs, kernfs: introduce kernfs_remove[_by_name[_ns]]()
authorTejun Heo <tj@kernel.org>
Sat, 23 Nov 2013 22:21:49 +0000 (17:21 -0500)
committerPawel Osmialowski <p.osmialowsk@mcdsrvbld02.digital.local>
Fri, 27 Mar 2015 17:13:14 +0000 (18:13 +0100)
commit738b4ead634d8b5a2ad5bd356c56a6b004925061
treebed7018790675920dc246d2598b6e9abf27c4517
parent502985c5acb1c744d3d9efbd267d9dfe9ffdaee7
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