sysfs: open code sysfs_attach_dentry()
commitd6b4fd2faeb9ddf55ce09cf90b88981e579ee010
authorTejun Heo <htejun@gmail.com>
Thu, 20 Sep 2007 07:05:11 +0000 (20 16:05 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:11 +0000 (12 14:51 -0700)
treeeb122aadde2b5e8fa2dcb2b800c6890d7fcb73b2
parentb1fc3d6144d56360d1373b01c7881826f558b6cd
sysfs: open code sysfs_attach_dentry()

sysfs_attach_dentry() now has only one caller and isn't doing much
other than obfuscating the code.  Open code and kill it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/dir.c