implement O_NONBLOCK for /proc/xen/xenbus
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 23 Jun 2010 16:30:15 +0000 (18:30 +0200)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Mon, 26 Jul 2010 17:05:05 +0000 (10:05 -0700)
commit6280f190da4dd083f14f704be6b3314311a7eacb
tree23b80ccd862117688eafa4c52ae6ad61fda2f082
parent4c31a781144c1f556dfcda3277dafecd4e107d95
implement O_NONBLOCK for /proc/xen/xenbus

This patch implements O_NONBLOCK for /proc/xen/xenbus.  It is a simple
matter of returning -EAGAIN instead of waiting on a queue.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/xenfs/xenbus.c