commit | e67dfe75b6830279ef24bfa5237c1488e2890a8d | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Sep 23 15:51:23 2017 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 18 09:35:41 2017 +0200 |
tree | 9d801d884402a459f57f1cdedda29574688dc23d | |
parent | 5444d8ab9a1406af9f1bc2f00c26838637542480 [diff] |
more bio_map_user_iov() leak fixes commit 2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058 upstream. we need to take care of failure exit as well - pages already in bio should be dropped by analogue of bio_unmap_pages(), since their refcounts had been bumped only once per reference in bio. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>