linux/fs/sysfs
Tejun Heo 078ce6409c sysfs: make bin attr open get active reference of parent too
All bin attr operations require active references of itself and its
parent.  There's no reason to allow open when its parent has been
deactivated and allowing it is inconsistent with regular sysfs file.
Use sysfs_get_active_two() in bin attribute open function.

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: make bin attr open get active reference of parent too 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 NULL pointer check in sysfs_release() 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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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