diff options
author | Chucheng Luo <luochucheng@vivo.com> | 2020-03-25 11:31:38 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-24 21:46:36 -0600 |
commit | bff6035d0c40fa1dd195aa41f61814d622883420 (patch) | |
tree | 7b91e9d3d585e3d40d987b0ba8d2349365f9754a /fs/io_uring.c | |
parent | 86f3cd1b589a10dbdca98c52cc0cd0f56523c9b3 (diff) | |
download | linux-stable-bff6035d0c40fa1dd195aa41f61814d622883420.tar.gz linux-stable-bff6035d0c40fa1dd195aa41f61814d622883420.tar.bz2 linux-stable-bff6035d0c40fa1dd195aa41f61814d622883420.zip |
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@vivo.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io_uring.c')
-rw-r--r-- | fs/io_uring.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |