]> git.baikalelectronics.ru Git - kernel.git/commit
iov_iter_get_pages_alloc(): lift freeing pages array on failure exits into wrapper
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 Jun 2022 00:38:20 +0000 (20:38 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Aug 2022 02:37:19 +0000 (22:37 -0400)
commit91329559eb07c9b12c7ce80e893ad39579c40aa2
tree854e4d968710ff776aa85bc57fb560b5f0114adf
parent12d426ab64a1c75f1b2ee5c33e933a4c16004049
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: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
lib/iov_iter.c