Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ublk: rename ublk_rq_task_work_cb as ublk_cmd_tw_cb

The new name is aligned with ublk_cmd_list_tw_cb(), and looks
more readable.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250327095123.179113-10-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Ming Lei and committed by
Jens Axboe
daabfb50 d796cea7

+3 -3
+3 -3
drivers/block/ublk_drv.c
··· 1264 1264 ubq_complete_io_cmd(io, UBLK_IO_RES_OK, issue_flags); 1265 1265 } 1266 1266 1267 - static void ublk_rq_task_work_cb(struct io_uring_cmd *cmd, 1268 - unsigned int issue_flags) 1267 + static void ublk_cmd_tw_cb(struct io_uring_cmd *cmd, 1268 + unsigned int issue_flags) 1269 1269 { 1270 1270 struct ublk_uring_cmd_pdu *pdu = ublk_get_uring_cmd_pdu(cmd); 1271 1271 struct ublk_queue *ubq = pdu->ubq; ··· 1280 1280 { 1281 1281 struct ublk_io *io = &ubq->ios[rq->tag]; 1282 1282 1283 - io_uring_cmd_complete_in_task(io->cmd, ublk_rq_task_work_cb); 1283 + io_uring_cmd_complete_in_task(io->cmd, ublk_cmd_tw_cb); 1284 1284 } 1285 1285 1286 1286 static void ublk_cmd_list_tw_cb(struct io_uring_cmd *cmd,