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>
Mon, 22 Mar 2021 13:42:47 +0000 (07:42 -0600)
commit1b22041e8f2c568b6cb2c0cd47e87637c701b398
tree9822244382e3116cb6ca8eb97961e15e8ee719d5
parent42c4c31b0e776c42b72cb4d0117cf726516da4d2
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