]> err.no Git - linux-2.6/commit
sysfs: separate out sysfs_attach_dentry()
authorTejun Heo <htejun@gmail.com>
Wed, 13 Jun 2007 18:45:16 +0000 (03:45 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:05 +0000 (16:09 -0700)
commit198a2a847015805c6f57d8cc732bdaaccb494007
tree614aa44e1bd1ab31a5baaab717c3af95773bd06b
parent73107cb3ad3963c0f929ae681c05081eafb1c079
sysfs: separate out sysfs_attach_dentry()

Consolidate sd <-> dentry association into sysfs_attach_dentry() and
call it after dentry and inode are properly set up.  This is in
preparation of sysfs_drop_dentry() updates.

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