[SG] Update crypto/ to sg helpers
[linux-2.6-block.git] / crypto / digest.c
index e56de6748b155eadf0f749c801e911a9a2d23577..8871dec8cae7484a1fe34e68966563ad1d6032b9 100644 (file)
@@ -41,7 +41,7 @@ static int update2(struct hash_desc *desc,
                return 0;
 
        for (;;) {
-               struct page *pg = sg->page;
+               struct page *pg = sg_page(sg);
                unsigned int offset = sg->offset;
                unsigned int l = sg->length;