linux/fs/sysfs
Greg Kroah-Hartman 4503efd089 sysfs: fix problems with binary files
Some sysfs binary files don't like having 0 passed to them as a size.
Fix this up at the root by just returning to the vfs if userspace asks
us for a zero sized buffer.

Thanks to Pavel Roskin for pointing this out.

Reported-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-20 20:52:09 -08:00
..
bin.c sysfs: fix problems with binary files 2009-01-20 20:52:09 -08:00
dir.c [PATCH] fix ->llseek for more directories 2008-10-23 05:13:21 -04:00
file.c sysfs: Make dir and name args to sysfs_notify() const 2008-10-16 09:24:51 -07:00
group.c Use WARN() in fs/sysfs 2008-07-26 12:00:07 -07:00
inode.c zero i_uid/i_gid on inode allocation 2009-01-05 11:54:28 -05:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mount.c sysfs: Support sysfs_notify from atomic context with new sysfs_notify_dirent 2008-10-16 09:24:47 -07:00
symlink.c driver core: Suppress sysfs warnings for device_rename(). 2008-07-21 21:55:01 -07:00
sysfs.h sysfs: Support sysfs_notify from atomic context with new sysfs_notify_dirent 2008-10-16 09:24:47 -07:00