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
History
File Mode Size
Kconfig -rw-r--r-- 248 bytes
Makefile -rw-r--r-- 992 bytes
af_llc.c -rw-r--r-- 30.7 KB
llc_c_ac.c -rw-r--r-- 35.4 KB
llc_c_ev.c -rw-r--r-- 21.3 KB
llc_c_st.c -rw-r--r-- 149.8 KB
llc_conn.c -rw-r--r-- 27.2 KB
llc_core.c -rw-r--r-- 4.2 KB
llc_if.c -rw-r--r-- 4.4 KB
llc_input.c -rw-r--r-- 5.5 KB
llc_output.c -rw-r--r-- 2.4 KB
llc_pdu.c -rw-r--r-- 10.6 KB
llc_proc.c -rw-r--r-- 6.6 KB
llc_s_ac.c -rw-r--r-- 5.9 KB
llc_s_ev.c -rw-r--r-- 3.5 KB
llc_s_st.c -rw-r--r-- 5.7 KB
llc_sap.c -rw-r--r-- 11.4 KB
llc_station.c -rw-r--r-- 20.7 KB
sysctl_net_llc.c -rw-r--r-- 2.0 KB

back to top