kernel_optimize_test/fs/sysfs
Tejun Heo b05f0548da sysfs: kill unnecessary sysfs_get() in open paths
There's no reason to get an extra reference to sysfs_dirent for an
open file.  Open file has a reference to the dentry which in turn has
a reference to sysfs_dirent.  This is fairly obvious as otherwise open
itself won't be able to access the sysfs_dirent.  Kill the extra
sysfs_get() and matching sysfs_put().

Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:51:10 -07:00
..
bin.c sysfs: kill unnecessary sysfs_get() in open paths 2007-10-12 14:51:10 -07:00
dir.c sysfs: fix comments of sysfs_add/remove_one() 2007-10-12 14:51:09 -07:00
file.c sysfs: kill unnecessary sysfs_get() in open paths 2007-10-12 14:51:10 -07:00
group.c
inode.c
Makefile
mount.c sysfs: Remove s_dentry 2007-10-12 14:51:08 -07:00
symlink.c
sysfs.h sysfs: reposition sysfs_dirent->s_mode. 2007-10-12 14:51:10 -07:00