kernel_optimize_test/fs/sysfs
Oliver Neukum 82244b169e sysfs: error handling in sysfs, fill_read_buffer()
if a driver returns an error in fill_read_buffer(), the buffer will be
marked as filled. Subsequent reads will return eof. But there is
no data because of an error, not because it has been read.
Not marking the buffer filled is the obvious fix.

Signed-off-by: Oliver Neukum <oliver@neukum.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-02-07 10:37:13 -08:00
..
bin.c sysfs: kobject_put cleanup 2007-02-07 10:37:13 -08:00
dir.c Driver core: fix race in sysfs between sysfs_remove_file() and read()/write() 2007-02-07 10:37:13 -08:00
file.c sysfs: error handling in sysfs, fill_read_buffer() 2007-02-07 10:37:13 -08:00
group.c Driver core: fix race in sysfs between sysfs_remove_file() and read()/write() 2007-02-07 10:37:13 -08:00
inode.c sysfs: suppress lockdep warnings 2007-02-07 10:37:13 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mount.c Driver core: fix race in sysfs between sysfs_remove_file() and read()/write() 2007-02-07 10:37:13 -08:00
symlink.c Driver core: fix race in sysfs between sysfs_remove_file() and read()/write() 2007-02-07 10:37:13 -08:00
sysfs.h Driver core: fix race in sysfs between sysfs_remove_file() and read()/write() 2007-02-07 10:37:13 -08:00