Juergen Gross 2f69a110e7 xen/xenbus: fix locking
Commit 060eabe8fbe726 ("xenbus/backend: Protect xenbus callback with
lock") introduced a bug by holding a lock while calling a function
which might schedule.

Fix that by using a semaphore instead.

Fixes: 060eabe8fbe726 ("xenbus/backend: Protect xenbus callback with lock")
Signed-off-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20200305100323.16736-1-jgross@suse.com
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
2020-03-05 09:42:23 -06:00
..
2020-03-05 09:42:23 -06:00
2015-12-21 14:40:55 +00:00
2019-12-15 12:24:44 -08:00
2019-12-17 13:57:54 +01:00
2019-11-24 11:55:31 +01:00
2019-07-17 08:09:58 +02:00
2019-09-12 15:02:55 -04:00
2015-12-21 14:40:55 +00:00
2020-02-21 16:10:10 -08:00
2019-07-31 08:14:12 +02:00
2019-05-31 10:53:34 -07:00
2018-02-01 10:07:32 -05:00
2019-07-31 08:14:12 +02:00