]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Sun, 11 Apr 2021 23:41:58 +0000 (17:41 -0600)
commit4215bb277cd7925619a8ac8022c366f6d439f630
tree1e9d4b90b9702bf3f2898ace58a14effc7dfc8c9
parentc6cdc63c88cd128ec6d8f780f8dc050de58a8597
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