kernel-fxtec-pro1x/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 sysfs: Remove first pass at shadow directory support 2007-10-12 14:51:03 -07:00
inode.c sysfs: Remove sysfs_instantiate 2007-10-12 14:51:07 -07:00
Makefile
mount.c sysfs: Remove s_dentry 2007-10-12 14:51:08 -07:00
symlink.c sysfs: Make sysfs_mount static 2007-10-12 14:51:07 -07:00
sysfs.h sysfs: reposition sysfs_dirent->s_mode. 2007-10-12 14:51:10 -07:00