summaryrefslogtreecommitdiff
path: root/fs/coda/sysctl.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-10-19 09:16:51 -0600
committerJens Axboe <axboe@kernel.dk>2024-10-19 09:25:45 -0600
commitae6a888a4357131c01d85f4c91fb32552dd0bf70 (patch)
tree1dc9e62968ce5a347f0e498be1df5458841677af /fs/coda/sysctl.c
parent8f7033aa4089fbaf7a33995f0f2ee6c9d7b9ca1b (diff)
downloadlwn-ae6a888a4357131c01d85f4c91fb32552dd0bf70.tar.gz
lwn-ae6a888a4357131c01d85f4c91fb32552dd0bf70.zip
io_uring/rw: fix wrong NOWAIT check in io_rw_init_file()
A previous commit improved how !FMODE_NOWAIT is dealt with, but inadvertently negated a check whilst doing so. This caused -EAGAIN to be returned from reading files with O_NONBLOCK set. Fix up the check for REQ_F_SUPPORT_NOWAIT. Reported-by: Julian Orth <ju.orth@gmail.com> Link: https://github.com/axboe/liburing/issues/1270 Fixes: f7c913438533 ("io_uring/rw: allow pollable non-blocking attempts for !FMODE_NOWAIT") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/coda/sysctl.c')
0 files changed, 0 insertions, 0 deletions