io_uring: don't check for io_uring_fops for fixed files
authorJens Axboe <axboe@kernel.dk>
Fri, 12 Mar 2021 15:27:05 +0000 (08:27 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 25 Mar 2021 16:24:19 +0000 (10:24 -0600)
commit0ffb09f2ca28303e3b20500d48eb699b9f9f076d
treebb513b9c6f50ef5c6672c7e7a6daa0f643acbf8a
parente399d3e107ce77be4a9b90d27e0b6564cc32b844
io_uring: don't check for io_uring_fops for fixed files

We don't allow them at registration time, so limit the check for needing
inflight tracking in io_file_get() to the non-fixed path.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c