]> www.infradead.org Git - users/hch/misc.git/commit
ublk: merge stop_work and quiesce_work
authorUday Shankar <ushankar@purestorage.com>
Mon, 7 Oct 2024 18:24:16 +0000 (12:24 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 22 Oct 2024 14:16:37 +0000 (08:16 -0600)
commit27b5d4170cda9a7ad0596d540d57e063bf5da26e
tree5726efbeb9fccade0b870122db48964214f17a37
parent3b939b8f715e014adcc48f7827fe9417252f0833
ublk: merge stop_work and quiesce_work

Save some lines by merging stop_work and quiesce_work into nosrv_work,
which looks at the recovery flags and does the right thing when the "no
ublk server" condition is detected.

Signed-off-by: Uday Shankar <ushankar@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20241007182419.3263186-4-ushankar@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c