[SG] Update crypto/ to sg helpers
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
@@ -54,7 +54,7 @@ static void scatterwalk_pagedone(struct scatter_walk *walk, int out,
|
||||
if (out) {
|
||||
struct page *page;
|
||||
|
||||
page = walk->sg->page + ((walk->offset - 1) >> PAGE_SHIFT);
|
||||
page = sg_page(walk->sg) + ((walk->offset - 1) >> PAGE_SHIFT);
|
||||
flush_dcache_page(page);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user