]> git.baikalelectronics.ru Git - kernel.git/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)
commita3db51dc7fb874a622d8e4b18bd1b5b8c4fecb0d
tree614aa44e1bd1ab31a5baaab717c3af95773bd06b
parent971a6fb1aaf35744fa733e0ff3be0b078fea268a
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