linux/fs/sysfs
Tejun Heo 5d0e26bb59 sysfs, kernfs: introduce kernfs_create_link()
Separate out kernfs symlink interface - kernfs_create_link() - which
takes and returns sysfs_dirents, from sysfs_do_create_link_sd().
sysfs_do_create_link_sd() now just determines the parent and target
sysfs_dirents and invokes the new interface and handles dup warning.

This patch doesn't introduce behavior changes.

v2: Dummy implementation for !CONFIG_SYSFS updated to return -ENOSYS.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-27 13:57:56 -08:00
..
dir.c sysfs, kernfs: introduce kernfs_remove[_by_name[_ns]]() 2013-11-27 13:57:56 -08:00
file.c sysfs, kernfs: introduce kernfs_remove[_by_name[_ns]]() 2013-11-27 13:57:56 -08:00
group.c sysfs, kernfs: introduce kernfs_remove[_by_name[_ns]]() 2013-11-27 13:57:56 -08:00
inode.c sysfs: move sysfs_hash_and_remove() to fs/sysfs/dir.c 2013-10-29 15:12:07 -07:00
Kconfig
Makefile sysfs: merge regular and bin file handling 2013-10-05 17:27:40 -07:00
mount.c sysfs: drop kobj_ns_type handling, take #2 2013-11-27 13:01:03 -08:00
symlink.c sysfs, kernfs: introduce kernfs_create_link() 2013-11-27 13:57:56 -08:00
sysfs.h sysfs, kernfs: introduce kernfs_remove[_by_name[_ns]]() 2013-11-27 13:57:56 -08:00