io_uring: return REQ_F_ flags from io_file_get_flags
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Jun 2023 11:32:32 +0000 (13:32 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 20 Jun 2023 15:36:22 +0000 (09:36 -0600)
commit8487f083c6ff6e02b2ec14f22ef2b0079a1b6425
treed6ead3cfb5f4ab86634ead614fdb71436fc43f4d
parent3beed235d1a1d0a4ab093ab67ea6b2841e9d4fa2
io_uring: return REQ_F_ flags from io_file_get_flags

Two of the three callers want them, so return the more usual format,
and shift into the FFS_ form only for the fixed file table.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230620113235.920399-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/filetable.h
io_uring/io_uring.c
io_uring/rw.c