linux_dsm_epyc7002/drivers/xen/xenbus
Juergen Gross 2f69a110e7 xen/xenbus: fix locking
Commit 060eabe8fb ("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: 060eabe8fb ("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
..
Makefile
xenbus_client.c
xenbus_comms.c xenbus: req->err should be updated before req->state 2020-03-05 09:42:01 -06:00
xenbus_dev_backend.c
xenbus_dev_frontend.c
xenbus_probe_backend.c xen/xenbus: fix locking 2020-03-05 09:42:23 -06:00
xenbus_probe_frontend.c xenbus: move xenbus_dev_shutdown() into frontend code... 2019-12-20 13:44:35 +01:00
xenbus_probe.c xen/xenbus: fix locking 2020-03-05 09:42:23 -06:00
xenbus_xs.c xenbus: req->body should be updated before req->state 2020-03-05 09:41:59 -06:00
xenbus.h xenbus: move xenbus_dev_shutdown() into frontend code... 2019-12-20 13:44:35 +01:00