On 9/5/23 21:47, Christoph Hellwig wrote: > There is no need to unpin the added page when adding it to the bio fails > as that is done by the loop below. Instead we want to unpin it when adding > a single page to the bio more than once as bio_release_pages will only > unpin it once. > > Fixes: d1916c86ccdc ("block: move same page handling from __bio_add_pc_page to the callers") > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx> -- Damien Le Moal Western Digital Research