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-- | 1.0 KB |
Makefile | -rw-r--r-- | 426 bytes |
af_rxrpc.c | -rw-r--r-- | 20.5 KB |
ar-accept.c | -rw-r--r-- | 12.2 KB |
ar-ack.c | -rw-r--r-- | 32.5 KB |
ar-call.c | -rw-r--r-- | 21.2 KB |
ar-connection.c | -rw-r--r-- | 22.9 KB |
ar-connevent.c | -rw-r--r-- | 9.1 KB |
ar-error.c | -rw-r--r-- | 5.8 KB |
ar-input.c | -rw-r--r-- | 19.9 KB |
ar-internal.h | -rw-r--r-- | 27.8 KB |
ar-key.c | -rw-r--r-- | 27.9 KB |
ar-local.c | -rw-r--r-- | 7.5 KB |
ar-output.c | -rw-r--r-- | 17.9 KB |
ar-peer.c | -rw-r--r-- | 7.4 KB |
ar-proc.c | -rw-r--r-- | 5.0 KB |
ar-recvmsg.c | -rw-r--r-- | 10.8 KB |
ar-security.c | -rw-r--r-- | 5.6 KB |
ar-skbuff.c | -rw-r--r-- | 3.4 KB |
ar-transport.c | -rw-r--r-- | 7.1 KB |
rxkad.c | -rw-r--r-- | 27.3 KB |
Computing file changes ...