]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/rsrc: don't assign bvec twice in io_import_fixed()
authorJens Axboe <axboe@kernel.dk>
Wed, 16 Oct 2024 21:04:55 +0000 (15:04 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Oct 2024 19:43:27 +0000 (13:43 -0600)
commitc919790060230ac2b1824bbf4d3b64eb51f471ff
treeb2e5c9a5a1b8f3dfe2a2a0cbb96217ca02ac3b4f
parent2946f08ae9ed650b94e0ffebcdfdda8de76bd926
io_uring/rsrc: don't assign bvec twice in io_import_fixed()

iter->bvec is already set to imu->bvec - remove the one dead assignment
and turn the other one into an addition instead.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rsrc.c