Fix wrong ordering at taking semaphore after spinlock and convert the spinlock take and release into guards, so they are not lost after a return.
This series goes on top of https://lore.kernel.org/lkml/[email protected]/ --- It would be great if these can be squashed. Eugenio Pérez (2): vduse: fix not releasing taken semaphore in vduse_dev_queue_irq_work vduse: not take the device semaphore while holding vq spinlock drivers/vdpa/vdpa_user/vduse_dev.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) -- 2.54.0

