Revision d261154057c27f6c1d256b6198b0ad08733f1758 authored by Ian Abbott on 19 May 2010, 16:22:41 UTC, committed by Greg Kroah-Hartman on 04 June 2010, 20:38:53 UTC
For write(), any data copied to the data buffer after the previously set up streaming acquisition command has finished won't be used, but a non-empty write() does not currently return 0 (or -EPIPE on error) after the command has finished until the data buffer has been filled up. Change this behavior to return 0 (or -EPIPE) any time after the command has finished, without bothering to fill up the buffer with more useless data. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent ee4063f
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.8 KB |
Makefile | -rw-r--r-- | 338 bytes |
addr.c | -rw-r--r-- | 3.6 KB |
addr.h | -rw-r--r-- | 3.0 KB |
bcast.c | -rw-r--r-- | 22.8 KB |
bcast.h | -rw-r--r-- | 3.6 KB |
bearer.c | -rw-r--r-- | 17.4 KB |
bearer.h | -rw-r--r-- | 5.9 KB |
cluster.c | -rw-r--r-- | 14.6 KB |
cluster.h | -rw-r--r-- | 3.6 KB |
config.c | -rw-r--r-- | 20.4 KB |
config.h | -rw-r--r-- | 3.0 KB |
core.c | -rw-r--r-- | 7.6 KB |
core.h | -rw-r--r-- | 9.4 KB |
dbg.c | -rw-r--r-- | 11.0 KB |
dbg.h | -rw-r--r-- | 2.8 KB |
discover.c | -rw-r--r-- | 9.7 KB |
discover.h | -rw-r--r-- | 2.3 KB |
eth_media.c | -rw-r--r-- | 8.7 KB |
handler.c | -rw-r--r-- | 4.0 KB |
link.c | -rw-r--r-- | 86.1 KB |
link.h | -rw-r--r-- | 10.5 KB |
msg.c | -rw-r--r-- | 11.3 KB |
msg.h | -rw-r--r-- | 16.3 KB |
name_distr.c | -rw-r--r-- | 9.1 KB |
name_distr.h | -rw-r--r-- | 2.1 KB |
name_table.c | -rw-r--r-- | 28.2 KB |
name_table.h | -rw-r--r-- | 4.1 KB |
net.c | -rw-r--r-- | 9.5 KB |
net.h | -rw-r--r-- | 2.4 KB |
netlink.c | -rw-r--r-- | 3.4 KB |
node.c | -rw-r--r-- | 19.9 KB |
node.h | -rw-r--r-- | 5.5 KB |
node_subscr.c | -rw-r--r-- | 2.8 KB |
node_subscr.h | -rw-r--r-- | 2.6 KB |
port.c | -rw-r--r-- | 40.3 KB |
port.h | -rw-r--r-- | 6.2 KB |
ref.c | -rw-r--r-- | 8.8 KB |
ref.h | -rw-r--r-- | 2.1 KB |
socket.c | -rw-r--r-- | 45.8 KB |
subscr.c | -rw-r--r-- | 16.2 KB |
subscr.h | -rw-r--r-- | 3.2 KB |
user_reg.c | -rw-r--r-- | 6.5 KB |
user_reg.h | -rw-r--r-- | 2.1 KB |
zone.c | -rw-r--r-- | 4.6 KB |
zone.h | -rw-r--r-- | 2.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...