diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-21 00:51:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-21 05:52:09 +0100 |
commit | 4503efd0891c40e30928afb4b23dc3f99c62a6b2 (patch) | |
tree | b92d71b333e30f90b4a91a4e4bea895f5489a6ae /fs/generic_acl.c | |
parent | PNP: fix broken pnp lowercasing for acpi module aliases (diff) | |
download | linux-4503efd0891c40e30928afb4b23dc3f99c62a6b2.tar.xz linux-4503efd0891c40e30928afb4b23dc3f99c62a6b2.zip |
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>
Diffstat (limited to 'fs/generic_acl.c')
0 files changed, 0 insertions, 0 deletions