From: Jens Axboe Date: Tue, 23 Feb 2021 15:18:36 +0000 (-0700) Subject: io_uring: correct comment on poll vs iopoll X-Git-Tag: accepted/tizen/unified/20230118.172025~7355^2~139 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9b0e0d39c7b4be7af7976c52bdb8664dfa389f5;p=platform%2Fkernel%2Flinux-rpi.git io_uring: correct comment on poll vs iopoll The correct function is io_iopoll_complete(), which deals with completions of IOPOLL requests, not io_poll_complete(). Signed-off-by: Jens Axboe --- diff --git a/fs/io_uring.c b/fs/io_uring.c index 9ee33c3..13d087e 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -2564,7 +2564,7 @@ static void io_complete_rw_iopoll(struct kiocb *kiocb, long res, long res2) req_set_fail_links(req); WRITE_ONCE(req->result, res); - /* order with io_poll_complete() checking ->result */ + /* order with io_iopoll_complete() checking ->result */ smp_wmb(); WRITE_ONCE(req->iopoll_completed, 1); }