Skip to content
Commit 91329559 authored by Al Viro's avatar Al Viro
Browse files

iov_iter_get_pages_alloc(): lift freeing pages array on failure exits into wrapper



Incidentally, ITER_XARRAY did *not* free the sucker in case when
iter_xarray_populate_pages() returned 0...

Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 12d426ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment