summaryrefslogtreecommitdiff
path: root/include/uapi/linux/ublk_cmd.h
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2023-01-06 07:17:08 +0300
committerJens Axboe <axboe@kernel.dk>2023-01-30 01:18:34 +0300
commitbfbcef036396a73fbf4b3fee385cc670159df5ad (patch)
tree31d9ed8fa65bfd9d49127ed07e665f67f4927624 /include/uapi/linux/ublk_cmd.h
parent73a166d9749230d598320fdae3b687cdc0e2e205 (diff)
downloadlinux-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 'include/uapi/linux/ublk_cmd.h')
0 files changed, 0 insertions, 0 deletions