linux/fs/sysfs
Tejun Heo aecdcedaab 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>
2007-07-11 16:09:04 -07:00
..
Makefile
bin.c sysfs: make sysfs_dirent->s_element a union 2007-07-11 16:09:04 -07:00
dir.c sysfs: implement kobj_sysfs_assoc_lock 2007-07-11 16:09:04 -07:00
file.c sysfs: make sysfs_dirent->s_element a union 2007-07-11 16:09:04 -07:00
group.c security: prevent permission checking of file removal via sysfs_remove_group() 2007-04-27 10:57:33 -07:00
inode.c sysfs: make sysfs_dirent->s_element a union 2007-07-11 16:09:04 -07:00
mount.c sysfs: make sysfs_dirent->s_element a union 2007-07-11 16:09:04 -07:00
symlink.c sysfs: make sysfs_dirent->s_element a union 2007-07-11 16:09:04 -07:00
sysfs.h sysfs: implement kobj_sysfs_assoc_lock 2007-07-11 16:09:04 -07:00