linux/drivers/xen/xenfs
Daniel De Graaf 7808121b9a xenbus: avoid zero returns from read()
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>
2010-09-09 10:48:22 +10:00
..
Makefile
super.c xen: add "capabilities" file 2009-03-30 09:59:20 -07:00
xenbus.c xenbus: avoid zero returns from read() 2010-09-09 10:48:22 +10:00
xenfs.h