mbox series

[0/3] ublk_drv: cleanup and bugfix

Message ID 20220809091629.104682-1-ZiyangZhang@linux.alibaba.com (mailing list archive)
Headers show
Series ublk_drv: cleanup and bugfix | expand

Message

Ziyang Zhang Aug. 9, 2022, 9:16 a.m. UTC
The following 3 patches are cleanup and bugfix. Patch 1 and 2
simply inline a function and update comments for ublk_drv's
aborting machemism.

Patch 3 fix a null-deref bug reported by myself. Ming gives out a
patch and I integrate it with more comments on this bug.

ZiyangZhang (3):
  ublk_drv: check ubq_daemon_is_dying() in __ublk_rq_task_work()
  ublk_drv: update comment for __ublk_fail_req()
  ublk_drv: do not add a re-issued request aborted previously to
    ioucmd's task_work

 drivers/block/ublk_drv.c | 31 ++++++++++++++++++++++---------
 1 file changed, 22 insertions(+), 9 deletions(-)