Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libcfs: page_private() is not always defined, use page->private.
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
linux
/
linux-mem.c
diff --git
a/libcfs/libcfs/linux/linux-mem.c
b/libcfs/libcfs/linux/linux-mem.c
index
20f3667
..
fffbd0c
100644
(file)
--- a/
libcfs/libcfs/linux/linux-mem.c
+++ b/
libcfs/libcfs/linux/linux-mem.c
@@
-164,7
+164,7
@@
int cfs_mem_is_in_cache(const void *addr, const cfs_mem_cache_t *kmem)
*/
page = virt_to_page(addr);
if (unlikely(PageCompound(page)))
- page = (struct page *)page
_private(page)
;
+ page = (struct page *)page
->private
;
return PageSlab(page) && ((void *)page->lru.next) == kmem;
}
EXPORT_SYMBOL(cfs_mem_is_in_cache);