io-uring: drop 'free_pfile' in struct io_file_put
authorHillf Danton <hdanton@sina.com>
Mon, 23 Mar 2020 09:47:15 +0000 (17:47 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Mar 2020 15:22:15 +0000 (09:22 -0600)
commita5318d3cdffbecf075928363d7e4becfeddabfcb
tree3dcdbb21bef507c748dd9a654aab7d5a0afd8e16
parent4afdb733b1606c6cb86e7833f9335f4870cf7ddd
io-uring: drop 'free_pfile' in struct io_file_put

Sync removal of file is only used in case of a GFP_KERNEL kmalloc
failure at the cost of io_file_put::done and work flush, while a
glich like it can be handled at the call site without too much pain.

That said, what is proposed is to drop sync removing of file, and
the kink in neck as well.

Signed-off-by: Hillf Danton <hdanton@sina.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c