From cd99ef9bf553e7d0cef5a78df59b14b3c8beebd3 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 to #28170604 commit bff6035d0c40fa1dd195aa41f61814d622883420 upstream The missing 'return' work may make it hard for other developers to understand it. Signed-off-by: Chucheng Luo Signed-off-by: Jens Axboe Acked-by: Joseph Qi Signed-off-by: Xiaoguang Wang --- 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 05f8dd06568e..976100de863b 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -2681,7 +2681,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)) -- GitLab