mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 22:44:27 +08:00
581d21a2d0
/proc/xen/xenbus does not work correctly. A read blocked waiting for a xenstore message holds the mutex needed for atomic file position updates. This blocks any writes on the same file handle, which can deadlock if the write is needed to unblock the read. Clear FMODE_ATOMIC_POS when opening this device to always get character device like sematics. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com> |
||
---|---|---|
.. | ||
Makefile | ||
xenbus_client.c | ||
xenbus_comms.c | ||
xenbus_comms.h | ||
xenbus_dev_backend.c | ||
xenbus_dev_frontend.c | ||
xenbus_probe_backend.c | ||
xenbus_probe_frontend.c | ||
xenbus_probe.c | ||
xenbus_probe.h | ||
xenbus_xs.c |