commit | 12dcb58ac785ee678f577e1502d966b538375aae | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Jun 24 15:10:00 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jun 30 14:15:39 2021 -0600 |
tree | 3b54d3a77b3ce8817bfb996038a2f73cda9efa0d | |
parent | 9ba6a1c06279ce499fcf755d8134d679a1f3b4ed [diff] |
io_uring: refactor io_openat2() Put do_filp_open() fail path of io_openat2() under a single if, deduplicating put_unused_fd(), making it look better and helping the hot path. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/f4c84d25c049d0af2adc19c703bbfef607200209.1624543113.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>