io_uring: do build_open_how() only once
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 3 Jun 2020 15:03:23 +0000 (18:03 +0300)
committerJens Axboe <axboe@kernel.dk>
Thu, 4 Jun 2020 17:14:19 +0000 (11:14 -0600)
commit25e72d1012b30bdff712b563e6141a4f311d28d6
treed517714f3baf50c6f2d734ac025d628cb51f8e80
parent3232dd02af65f2d01be641120d2a710176b0c7a7
io_uring: do build_open_how() only once

build_open_how() is just adjusting open_flags/mode. Do it once during
prep. It looks better than storing raw values for the future.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c