]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commit
xenfs: implement O_NONBLOCK for /proc/xen/xenbus
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 26 Jul 2010 09:40:00 +0000 (10:40 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 26 Jul 2010 09:40:00 +0000 (10:40 +0100)
commitbf2e734daa6e940fca161d950bbad8ab947ce067
tree9009d5a3bae4c79ca19a9fa6dedda817c26dc029
parent7f82a290c234519dc97b9952ba984add8b9bb9e2
xenfs: 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>
drivers/xen/xenbus/xenbus_dev.c