io_uring: clean up io_req_free_batch_finish()
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 11 Feb 2021 18:28:20 +0000 (18:28 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 11 Feb 2021 18:40:40 +0000 (11:40 -0700)
commit6e833d538b3123767393c987d11c40b7728b3f79
tree640801b72cb16baae7bb37cb41d06a2e58a966fe
parent3c1a2ead915c1bcb7b1f9e902469ea0ee1f7857f
io_uring: clean up io_req_free_batch_finish()

io_req_free_batch_finish() is final and does not permit struct req_batch
to be reused without re-init. To be more consistent don't clear ->task
there.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c