sysfs: move sysfs_hash_and_remove() to fs/sysfs/dir.c
authorTejun Heo <tj@kernel.org>
Thu, 24 Oct 2013 15:49:10 +0000 (11:49 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Oct 2013 22:12:07 +0000 (15:12 -0700)
commit7eed6ecb0785681892ab1fe47188fc981241cfd0
tree5f1c88f8bc17ae7beffcf0ed319ca9708bd3a082
parentbaa97cb50724e72ece05a7cead6533a9658ddf79
sysfs: move sysfs_hash_and_remove() to fs/sysfs/dir.c

Most removal related logic is implemented in fs/sysfs/dir.c.  Move
sysfs_hash_and_remove() to fs/sysfs/dir.c so that __sysfs_remove()
doesn't have to be public.

This is pure relocation.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/dir.c
fs/sysfs/inode.c
fs/sysfs/sysfs.h