alistair23-linux/fs/sysfs
Tejun Heo 3007e997de sysfs: use sysfs_mutex to protect the sysfs_dirent tree
As kobj sysfs dentries and inodes are gonna be made reclaimable,
i_mutex can't be used to protect sysfs_dirent tree.  Use sysfs_mutex
globally instead.  As the whole tree is protected with sysfs_mutex,
there is no reason to keep sysfs_rename_sem.  Drop it.

While at it, add docbook comments to functions which require
sysfs_mutex locking.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:09:08 -07:00
..
bin.c sysfs: make kobj point to sysfs_dirent instead of dentry 2007-07-11 16:09:08 -07:00
dir.c sysfs: use sysfs_mutex to protect the sysfs_dirent tree 2007-07-11 16:09:08 -07:00
file.c sysfs: use sysfs_mutex to protect the sysfs_dirent tree 2007-07-11 16:09:08 -07:00
group.c sysfs: make kobj point to sysfs_dirent instead of dentry 2007-07-11 16:09:08 -07:00
inode.c sysfs: use sysfs_mutex to protect the sysfs_dirent tree 2007-07-11 16:09:08 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mount.c sysfs: rename sysfs_dirent->s_type to s_flags and make room for flags 2007-07-11 16:09:08 -07:00
symlink.c sysfs: use sysfs_mutex to protect the sysfs_dirent tree 2007-07-11 16:09:08 -07:00
sysfs.h sysfs: use sysfs_mutex to protect the sysfs_dirent tree 2007-07-11 16:09:08 -07:00