diff options
| author | Ming Lei <ming.lei@redhat.com> | 2023-01-06 12:17:08 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2023-01-29 15:18:34 -0700 |
| commit | bfbcef036396a73fbf4b3fee385cc670159df5ad (patch) | |
| tree | 31d9ed8fa65bfd9d49127ed07e665f67f4927624 /net/lapb/lapb_timer.c | |
| parent | 73a166d9749230d598320fdae3b687cdc0e2e205 (diff) | |
ublk_drv: move ublk_get_device_from_id into ublk_ctrl_uring_cmd
It is annoying for each control command handler to get/put ublk
device and deal with failure.
Control command handler is simplified a lot by moving
ublk_get_device_from_id into ublk_ctrl_uring_cmd().
Reviewed-by: ZiyangZhang <ZiyangZhang@linux.alibaba.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20230106041711.914434-4-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
