commit | ec65fea5a8d7a82d3137dd2a44197eb577da111f | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Wed Jun 03 18:03:24 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jun 04 11:14:19 2020 -0600 |
tree | b51bcce8161e34857dfcd1a275d5c2002cb94708 | |
parent | 25e72d1012b30bdff712b563e6141a4f311d28d6 [diff] |
io_uring: deduplicate io_openat{,2}_prep() io_openat_prep() and io_openat2_prep() are identical except for how struct open_how is built. Deduplicate it with a helper. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>