On Wed, Dec 13, 2017 at 06:18:27PM -0800, Guenter Roeck wrote:
From: Al Viro viro@zeniv.linux.org.uk
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.
Cc: stable@vger.kernel.org Signed-off-by: Al Viro viro@zeniv.linux.org.uk Signed-off-by: Guenter Roeck linux@roeck-us.net
Fixed conflicts. Intended for v4.4.y. Does not apply to v3.18.y or older kernels.
Many thanks for this, now applied.
greg k-h