All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] io_uring: update outdated comment of callbacks
@ 2022-11-10 12:21 Lin Ma
  2022-11-10 18:16 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Lin Ma @ 2022-11-10 12:21 UTC (permalink / raw)
  To: axboe, asml.silence, io-uring, linux-kernel; +Cc: Lin Ma

Previous commit ebc11b6c6b87 ("io_uring: clean io-wq callbacks") rename
io_free_work() into io_wq_free_work() for consistency. This patch also
updates relevant comment to avoid misunderstanding.

Fixes: ebc11b6c6b87 ("io_uring: clean io-wq callbacks")
Signed-off-by: Lin Ma <linma@zju.edu.cn>
---
 io_uring/io_uring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c
index ac8c488e3077..a1024b7fcc73 100644
--- a/io_uring/io_uring.c
+++ b/io_uring/io_uring.c
@@ -1782,7 +1782,7 @@ void io_wq_submit_work(struct io_wq_work *work)
 	bool needs_poll = false;
 	int ret = 0, err = -ECANCELED;
 
-	/* one will be dropped by ->io_free_work() after returning to io-wq */
+	/* one will be dropped by ->io_wq_free_work() after returning to io-wq */
 	if (!(req->flags & REQ_F_REFCOUNT))
 		__io_req_set_refcount(req, 2);
 	else
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] io_uring: update outdated comment of callbacks
  2022-11-10 12:21 [PATCH v1] io_uring: update outdated comment of callbacks Lin Ma
@ 2022-11-10 18:16 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2022-11-10 18:16 UTC (permalink / raw)
  To: linux-kernel, Lin Ma, asml.silence, io-uring

On Thu, 10 Nov 2022 20:21:03 +0800, Lin Ma wrote:
> Previous commit ebc11b6c6b87 ("io_uring: clean io-wq callbacks") rename
> io_free_work() into io_wq_free_work() for consistency. This patch also
> updates relevant comment to avoid misunderstanding.
> 
> 

Applied, thanks!

[1/1] io_uring: update outdated comment of callbacks
      commit: 55acb7980966a3a007af6173910c7aa7b600226f

Best regards,
-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-10 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 12:21 [PATCH v1] io_uring: update outdated comment of callbacks Lin Ma
2022-11-10 18:16 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.