diff options
author | David Vrabel <david.vrabel@citrix.com> | 2016-12-09 17:41:13 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2016-12-12 17:22:13 +0300 |
commit | 581d21a2d02a798ee34e56dbfa13f891b3a90c30 (patch) | |
tree | 332071831cfcfdf54c1db18a874d0e687326d11a /drivers/gpu/drm/omapdrm/dss/sdi.c | |
parent | 3da96be58f2c8aaa86cfe78b16f837e610dfcfe2 (diff) | |
download | linux-581d21a2d02a798ee34e56dbfa13f891b3a90c30.tar.xz |
xenbus: fix deadlock on writes to /proc/xen/xenbus
/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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/sdi.c')
0 files changed, 0 insertions, 0 deletions