The patch titled Subject: lib-scatterlist-use-page-iterator-in-the-mapping-iterator-fix-fix has been removed from the -mm tree. Its filename was lib-scatterlist-use-page-iterator-in-the-mapping-iterator-fix-fix.patch This patch was dropped because it was folded into lib-scatterlist-use-page-iterator-in-the-mapping-iterator.patch ------------------------------------------------------ From: Imre Deak <imre.deak@xxxxxxxxx> Subject: lib-scatterlist-use-page-iterator-in-the-mapping-iterator-fix-fix - Fix the mapping size to be page-size limited. Thanks to Stephen Warren for tracking down the bug. Signed-off-by: Imre Deak <imre.deak@xxxxxxxxx> Cc: Maxim Levitsky <maximlevitsky@xxxxxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Cc: Daniel Vetter <daniel.vetter@xxxxxxxx> Cc: James Hogan <james.hogan@xxxxxxxxxx> Cc: Stephen Warren <swarren@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/scatterlist.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN lib/scatterlist.c~lib-scatterlist-use-page-iterator-in-the-mapping-iterator-fix-fix lib/scatterlist.c --- a/lib/scatterlist.c~lib-scatterlist-use-page-iterator-in-the-mapping-iterator-fix-fix +++ a/lib/scatterlist.c @@ -493,6 +493,8 @@ bool sg_miter_next(struct sg_mapping_ite miter->__offset = pgoffset ? 0 : sg->offset; miter->__remaining = sg->offset + sg->length - (pgoffset << PAGE_SHIFT) - miter->__offset; + miter->__remaining = min_t(unsigned long, miter->__remaining, + PAGE_SIZE - miter->__offset); } miter->page = miter->piter.page; miter->consumed = miter->length = miter->__remaining; _ Patches currently in -mm which might be from imre.deak@xxxxxxxxx are origin.patch lib-scatterlist-add-simple-page-iterator.patch lib-scatterlist-use-page-iterator-in-the-mapping-iterator.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html