diff options
author | Jiufei Xue <jiufei.xue@linux.alibaba.com> | 2020-06-10 13:41:59 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-10 18:06:16 -0600 |
commit | e697deed834de15d2322d0619d51893022c90ea2 (patch) | |
tree | 686a3c4003efa9d74e3f7658c5b3b3bebf854dbd /fs/fs_context.c | |
parent | 405a5d2b2762f2a9813efdee93274d4e7bf607a1 (diff) | |
download | linux-e697deed834de15d2322d0619d51893022c90ea2.tar.bz2 |
io_uring: check file O_NONBLOCK state for accept
If the socket is O_NONBLOCK, we should complete the accept request
with -EAGAIN when data is not ready.
Signed-off-by: Jiufei Xue <jiufei.xue@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/fs_context.c')
0 files changed, 0 insertions, 0 deletions