Jens Axboe 6961cd4d0f ubd: fix missing lock around request issue
We need to hold the device lock (and disable interrupts) while
writing new commands, or we could be interrupted while that
is happening and read invalid requests in the completion path.

Fixes: 4e6da0fe8058 ("um: Convert ubd driver to blk-mq")
Tested-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-11-07 14:34:05 -07:00
..
2018-10-25 06:50:48 -07:00
2018-10-25 06:50:48 -07:00
2018-10-25 06:43:18 -07:00
2018-10-25 06:50:48 -07:00
2018-10-25 06:50:48 -07:00