mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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>
This commit is contained in:
parent
86f3cd1b58
commit
bff6035d0c
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue