[PATCH 09/14] sysfs: implement kobj_sysfs_assoc_lock

2007-04-08 Thread Tejun Heo
kobj->dentry can go away anytime unless the user controls when the associated sysfs node is deleted. This patch implements kobj_sysfs_assoc_lock which protects kobj->dentry. This will be used to maintain kobj based API when converting sysfs to use sysfs_dirent tree instead of dentry/kobject. Not

[PATCH 09/14] sysfs: implement kobj_sysfs_assoc_lock

2007-04-07 Thread Tejun Heo
kobj->dentry can go away anytime unless the user controls when the associated sysfs node is deleted. This patch implements kobj_sysfs_assoc_lock which protects kobj->dentry. This will be used to maintain kobj based API when converting sysfs to use sysfs_dirent tree instead of dentry/kobject. Not