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)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Tue, 9 Jun 2015 09:31:14 +0000 (11:31 +0200)
commit99b78f620c751dd61c8a068d3e2640b4d339ec22
treefdd512962698eb87b48fbea7d3aae3a28ee9b909
parentf70e6298bc9f6b7ea33475c50bdf2d230608a433
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