iterate_xarray(): only of the first iteration we might get offset != 0
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 4 May 2021 21:50:07 +0000 (17:50 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 10 Jun 2021 15:45:21 +0000 (11:45 -0400)
commit4b179e9a9c7c98550747b76405626dd59968f078
tree4aef8b6c1ee1ad2afe07316656eb399a2e2b8fda
parenta6e4ec7bfd32f42ff37577c6b708153d19880b6e
iterate_xarray(): only of the first iteration we might get offset != 0

recalculating offset on each iteration is pointless - on all subsequent
passes through the loop it will be zero anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
lib/iov_iter.c