summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/item_ops.c
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.name>2007-01-02 08:48:08 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-07 10:37:13 -0800
commit82244b169ed2eee1ef7f97a3a6693f5a6eff8a69 (patch)
tree544170373b626e7cd110070930446208476b625e /fs/reiserfs/item_ops.c
parentb067db49e1f4013ef02ef68845701b600e88a722 (diff)
downloadlinux-stable-82244b169ed2eee1ef7f97a3a6693f5a6eff8a69.tar.gz
linux-stable-82244b169ed2eee1ef7f97a3a6693f5a6eff8a69.tar.bz2
linux-stable-82244b169ed2eee1ef7f97a3a6693f5a6eff8a69.zip
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>
Diffstat (limited to 'fs/reiserfs/item_ops.c')
0 files changed, 0 insertions, 0 deletions