diff options
author | Ming Lei <ming.lei@redhat.com> | 2023-01-06 07:17:08 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-01-30 01:18:34 +0300 |
commit | bfbcef036396a73fbf4b3fee385cc670159df5ad (patch) | |
tree | 31d9ed8fa65bfd9d49127ed07e665f67f4927624 /.gitattributes | |
parent | 73a166d9749230d598320fdae3b687cdc0e2e205 (diff) | |
download | linux-bfbcef036396a73fbf4b3fee385cc670159df5ad.tar.xz |
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 '.gitattributes')
0 files changed, 0 insertions, 0 deletions