[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200325033138.21488-1-luochucheng@vivo.com>
Date: Wed, 25 Mar 2020 11:31:38 +0800
From: Chucheng Luo <luochucheng@...o.com>
To: Alexander Viro <viro@...iv.linux.org.uk>,
Jens Axboe <axboe@...nel.dk>, linux-fsdevel@...r.kernel.org,
io-uring@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: kernel@...o.com, Chucheng Luo <luochucheng@...o.com>
Subject: [PATCH] io_uring:fix missing 'return' in comment
the missing 'return' work may make it hard
for other developers to understand it.
Signed-off-by: Chucheng Luo <luochucheng@...o.com>
---
fs/io_uring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/io_uring.c b/fs/io_uring.c
index 5a826017ebb8..4b971c7b4483 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -2379,7 +2379,7 @@ static int io_write(struct io_kiocb *req, struct io_kiocb **nxt,
else
ret2 = loop_rw_iter(WRITE, req->file, kiocb, &iter);
/*
- * Raw bdev writes will -EOPNOTSUPP for IOCB_NOWAIT. Just
+ * Raw bdev writes will return -EOPNOTSUPP for IOCB_NOWAIT. Just
* retry them without IOCB_NOWAIT.
*/
if (ret2 == -EOPNOTSUPP && (kiocb->ki_flags & IOCB_NOWAIT))
--
2.17.1
Powered by blists - more mailing lists