io_uring: fix missing 'return' in comment
authorChucheng Luo <luochucheng@vivo.com>
Wed, 25 Mar 2020 03:31:38 +0000 (11:31 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 25 Mar 2020 03:46:36 +0000 (21:46 -0600)
The missing 'return' work may make it hard for other developers to
understand it.

Signed-off-by: Chucheng Luo <luochucheng@vivo.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c

index 635902122c2922ece9fcb07c5b9973d4dc378fdc..487e2742a9e87e0afcdeba65ac33a00a3165af72 100644 (file)
@@ -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))