• Al Viro's avatar
    ITER_PIPE: fold push_pipe() into __pipe_get_pages() · e3b42964
    Al Viro authored
    	Expand the only remaining call of push_pipe() (in
    __pipe_get_pages()), combine it with the page-collecting loop there.
    
    Note that the only reason it's not a loop doing append_pipe() is
    that append_pipe() is advancing, while iov_iter_get_pages() is not.
    As soon as it switches to saner semantics, this thing will switch
    to using append_pipe().
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    e3b42964
iov_iter.c 49 KB