projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
io_uring: return REQ_F_ flags from io_file_get_flags
[linux-block.git]
/
io_uring
/
rw.c
diff --git
a/io_uring/rw.c
b/io_uring/rw.c
index 1cf5742f2ae9cbe8a41ebd7b76944899e749be86..1bce2208b65c4fe1672ab08e7c6873d23e8c246c 100644
(file)
--- a/
io_uring/rw.c
+++ b/
io_uring/rw.c
@@
-667,7
+667,7
@@
static int io_rw_init_file(struct io_kiocb *req, fmode_t mode)
return -EBADF;
if (!(req->flags & REQ_F_FIXED_FILE))
- req->flags |= io_file_get_flags(file)
<< REQ_F_SUPPORT_NOWAIT_BIT
;
+ req->flags |= io_file_get_flags(file);
kiocb->ki_flags = file->f_iocb_flags;
ret = kiocb_set_rw_flags(kiocb, rw->flags);