diff options
author | Tejun Heo | 2007-06-13 20:45:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2007-07-12 01:09:04 +0200 |
commit | aecdcedaab49ca40620dc7dd70f67ee7269a66c9 (patch) | |
tree | df1faa0302e6fb428b7ae0a14d443626fd73b121 /mm/slab.c | |
parent | sysfs: make sysfs_dirent->s_element a union (diff) | |
download | kernel-qcow2-linux-aecdcedaab49ca40620dc7dd70f67ee7269a66c9.tar.gz kernel-qcow2-linux-aecdcedaab49ca40620dc7dd70f67ee7269a66c9.tar.xz kernel-qcow2-linux-aecdcedaab49ca40620dc7dd70f67ee7269a66c9.zip |
sysfs: implement kobj_sysfs_assoc_lock
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.
Note that this lock belongs to kobject/driver-model not sysfs. Once
sysfs is converted to not use kobject in its interface, this can be
removed from sysfs.
This is in preparation of object reference simplification.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions