diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-10-22 19:40:16 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-10-22 19:40:16 +0200 |
commit | 78c2f0b8c285c5305b3e67b0595200541e15eb43 (patch) | |
tree | 6537a046641e9a3dba3f4735b42d7f04e60e29f8 /crypto/scatterwalk.c | |
parent | 9b61764bcb4360e04386f0415a01da8271631004 (diff) | |
download | lwn-78c2f0b8c285c5305b3e67b0595200541e15eb43.tar.gz lwn-78c2f0b8c285c5305b3e67b0595200541e15eb43.zip |
[SG] Update crypto/ to sg helpers
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'crypto/scatterwalk.c')
-rw-r--r-- | crypto/scatterwalk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/scatterwalk.c b/crypto/scatterwalk.c index d6852c33cfb7..b9bbda0bb9f9 100644 --- a/crypto/scatterwalk.c +++ b/crypto/scatterwalk.c @@ -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); } |