Files
linux/fs/sysfs
Tejun Heo 93e3cd8270 sysfs: fix error handling in binattr write()
Error handling in fs/sysfs/bin.c:write() was wrong because size_t
count is used to receive return value from flush_write() which is
negative on failure.

This patch updates write() such that int variable is used instead.
read() is updated the same way for consistency.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:09:03 -07:00
..
2007-07-11 16:09:03 -07:00
2007-05-09 12:30:49 -07:00
2005-04-16 15:20:36 -07:00
2007-07-11 16:09:03 -07:00