From: Imre Deak Date: Thu, 28 Feb 2013 01:02:57 +0000 (-0800) Subject: lib/scatterlist: use page iterator in the mapping iterator X-Git-Tag: v3.9-rc1~46^2~148 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4225fc8555a992c7f91d174ef424384d6781e144;p=pandora-kernel.git 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 Cc: Maxim Levitsky Cc: Tejun Heo Cc: Daniel Vetter Cc: James Hogan Cc: Stephen Warren Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed