Home
last modified time | relevance | path

Searched hist:f5da8354 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/lib/
H A Diov_iter.cf5da8354 Wed Apr 28 19:59:08 CDT 2021 Al Viro <viro@zeniv.linux.org.uk> iterate_and_advance(): get rid of magic in case when n is 0

iov_iter_advance() needs to do some non-trivial work when it's given
0 as argument (skip all empty iovecs, mostly). We used to implement
it via iterate_and_advance(); we no longer do so and for all other
users of iterate_and_advance() zero length is a no-op.

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