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>
Fri, 12 Mar 2021 15:27:05 +0000 (08:27 -0700)
commit3060b1e24f97f97aab704589c0c221139dfe336e
tree101c5194405a41d304de6c17d4be4911d0d7c4e6
parent44fc3264d1865ef7988d916d19a7063f8be2e8e2
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