io_uring: always go async for unsupported open flags
authorDylan Yudaken <dylany@meta.com>
Fri, 27 Jan 2023 13:52:27 +0000 (05:52 -0800)
committerJens Axboe <axboe@kernel.dk>
Sun, 29 Jan 2023 22:18:26 +0000 (15:18 -0700)
commit0ffae640ad83de46865c6b8dc3fda370823e4f1d
tree529cdaec83da4065a36cecf7e511dcf18ce6ad79
parentc31cc60fddd11134031e7f9eb76812353cfaac84
io_uring: always go async for unsupported open flags

No point in issuing -> return -EAGAIN -> go async, when it can be done upfront.

Signed-off-by: Dylan Yudaken <dylany@meta.com>
Link: https://lore.kernel.org/r/20230127135227.3646353-5-dylany@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/openclose.c