From bff6035d0c40fa1dd195aa41f61814d622883420 Mon Sep 17 00:00:00 2001 From: Chucheng Luo Date: Wed, 25 Mar 2020 11:31:38 +0800 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 Signed-off-by: Jens Axboe --- 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 635902122c29..487e2742a9e8 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -2678,7 +2678,7 @@ static int io_write(struct io_kiocb *req, bool force_nonblock) current->signal->rlim[RLIMIT_FSIZE].rlim_cur = RLIM_INFINITY; /* - * 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))