From: Al Viro > Sent: 18 February 2017 00:02 ... > Actually, I've a better solution. Namely, analogue of iov_iter_advance() > for going backwards. The restriction is that you should never unroll > further than where you've initially started *or* have the iovec, etc. > array modified under you ... > +void iov_iter_unroll(struct iov_iter *i, size_t unroll) ...
I'm sure there is a better name, maybe iov_iter_backup() ? David