commit | 233295130e53c8dfe6dbef3f52634c3f7e44cd6a | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sat Oct 10 18:34:06 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Oct 10 12:49:24 2020 -0600 |
tree | f1c1e4d5da4bbc24627b7f571e7776248fe698ba | |
parent | 5bf5e464f1acb1c031b4a290d63760bcb074c027 [diff] |
io_uring: clean up ->files grabbing Move work.files grabbing into io_prep_async_work() to all other work resources initialisation. We don't need to keep it separately now, as ->ring_fd/file are gone. It also allows to not grab it when a request is not going to io-wq. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>