sysfs: move sysfs_drop_dentry() to dir.c and make it static
commita0edd7c848945a75e2f41673f43bc37d0a5fed15
authorTejun Heo <htejun@gmail.com>
Wed, 13 Jun 2007 19:27:24 +0000 (14 04:27 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:09 +0000 (11 16:09 -0700)
treec74ea7d7dbc814faef126f97601a16c7118b3099
parentfb6896da37f19be4b75154c14d1cd79231255b17
sysfs: move sysfs_drop_dentry() to dir.c and make it static

After add/remove path restructuring, the only user of
sysfs_drop_dentry() is sysfs_addrm_finish().  Move sysfs_drop_dentry()
to dir.c and make it static.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/dir.c
fs/sysfs/inode.c
fs/sysfs/sysfs.h