Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: drivers/md/dm-verity.c

Issue 6835032: CHROMIUM: verity: don't call page_address on unmapped highmem pages (Closed) Base URL: http://git.chromium.org/git/kernel-next.git@chromeos-2.6.37
Patch Set: Fix. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « drivers/md/dm-bht.c ('k') | include/linux/dm-bht.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: drivers/md/dm-verity.c
diff --git a/drivers/md/dm-verity.c b/drivers/md/dm-verity.c
index ffd68ffeaf3958b422d68d64c5e84316dfac9f62..5d4991318477e94d90358a307d162b36264769c1 100644
--- a/drivers/md/dm-verity.c
+++ b/drivers/md/dm-verity.c
@@ -678,7 +678,7 @@ static int verity_verify(struct verity_config *vc,
/* TODO(msb) handle case where multiple blocks fit in a page */
r = dm_bht_verify_block(&vc->bht, block,
- page_address(bv->bv_page));
+ bv->bv_page, bv->bv_offset);
/* dm_bht functions aren't expected to return errno friendly
* values. They are converted here for uniformity.
*/
« no previous file with comments | « drivers/md/dm-bht.c ('k') | include/linux/dm-bht.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698