iov_iter_advance(): don't modify ->iov_offset for ITER_DISCARD
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 2 May 2021 21:01:22 +0000 (17:01 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 10 Jun 2021 15:45:08 +0000 (11:45 -0400)
commit556351c1c09ad6511bc2eaa2c214992192f50410
tree7915f36642677b86e1910e5b2b47648558e6c22a
parent28f38db7edbfa6d7736cd7a3a7aec76660bfef57
iov_iter_advance(): don't modify ->iov_offset for ITER_DISCARD

the field is not used for that flavour

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