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.7 KB |
Makefile | -rw-r--r-- | 422 bytes |
addr.c | -rw-r--r-- | 3.8 KB |
addr.h | -rw-r--r-- | 615 bytes |
atm_misc.c | -rw-r--r-- | 2.6 KB |
atm_sysfs.c | -rw-r--r-- | 3.9 KB |
br2684.c | -rw-r--r-- | 20.6 KB |
clip.c | -rw-r--r-- | 24.2 KB |
common.c | -rw-r--r-- | 20.0 KB |
common.h | -rw-r--r-- | 1.6 KB |
ioctl.c | -rw-r--r-- | 9.3 KB |
lec.c | -rw-r--r-- | 63.6 KB |
lec.h | -rw-r--r-- | 5.1 KB |
lec_arpc.h | -rw-r--r-- | 2.9 KB |
mpc.c | -rw-r--r-- | 38.3 KB |
mpc.h | -rw-r--r-- | 1.9 KB |
mpoa_caches.c | -rw-r--r-- | 14.7 KB |
mpoa_caches.h | -rw-r--r-- | 3.0 KB |
mpoa_proc.c | -rw-r--r-- | 7.2 KB |
pppoatm.c | -rw-r--r-- | 10.7 KB |
proc.c | -rw-r--r-- | 11.4 KB |
protocols.h | -rw-r--r-- | 379 bytes |
pvc.c | -rw-r--r-- | 3.7 KB |
raw.c | -rw-r--r-- | 1.8 KB |
resources.c | -rw-r--r-- | 9.8 KB |
resources.h | -rw-r--r-- | 996 bytes |
signaling.c | -rw-r--r-- | 6.9 KB |
signaling.h | -rw-r--r-- | 838 bytes |
svc.c | -rw-r--r-- | 16.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...