mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
7808121b9a
It is possible to get a zero return from read() in instances where the queue is not empty but has no elements with data to deliver to the user. Since a zero return from read is an error indicator, resume waiting or return -EAGAIN (for a nonblocking fd) in this case. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> |
||
---|---|---|
.. | ||
xenbus | ||
xenfs | ||
balloon.c | ||
cpu_hotplug.c | ||
events.c | ||
evtchn.c | ||
features.c | ||
grant-table.c | ||
Kconfig | ||
Makefile | ||
manage.c | ||
sys-hypervisor.c | ||
xencomm.c |