Please sign in to comment.
lib/scatterlist: use page iterator in the mapping iterator
For better code reuse use the newly added page iterator to iterate through the pages. The offset, length within the page is still calculated by the mapping iterator as well as the actual mapping. Idea from Tejun Heo. Signed-off-by: Imre Deak <email@example.com> Cc: Maxim Levitsky <firstname.lastname@example.org> Cc: Tejun Heo <email@example.com> Cc: Daniel Vetter <firstname.lastname@example.org> Cc: James Hogan <email@example.com> Cc: Stephen Warren <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
- Loading branch information...
Showing with 28 additions and 30 deletions.