ublk: rename mm_lock as lock
authorMing Lei <ming.lei@redhat.com>
Mon, 9 Oct 2023 09:33:19 +0000 (17:33 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 17 Oct 2023 14:27:56 +0000 (08:27 -0600)
commit28dde8c062b640a26dc0bdbd341ace59ec96f7a3
tree6942c9b1774174736f087a4156455721cca38b6b
parent85248d670b71d9edda9459ee14fdc85c8e9632c0
ublk: rename mm_lock as lock

Rename mm_lock field of ublk_device as lock, so that this lock can be reused
for protecting access of ub->ub_disk, which will be used for simplifying
ublk_abort_queue() by quiesce queue in next patch.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20231009093324.957829-5-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c