The following commit has been merged in the master branch:
commit fdb9429eafda330bfdf1feefeb1a9ff61c7746b7
Author: Simon Wilkinson <[email protected]>
Date: Wed Apr 7 00:29:44 2010 +0100
Linux: kmap() not page_address()
Using page_address() will return NULL if the page is in highmem. To
avoid this, we must kmap() the page we're getting the address of,
and kunmap() when we are done. If the page isn't in high memory, then
kmap() is equivalent to page_address().
Change-Id: I42abfadaf3101bf5ad41bd7e5f720ba2583c4ee5
Reviewed-on: http://gerrit.openafs.org/1705
Reviewed-by: Russ Allbery <[email protected]>
Tested-by: Russ Allbery <[email protected]>
Reviewed-by: Marc Dionne <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
src/afs/LINUX/osi_fetchstore.c | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs