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
LU-8560 libcfs: handle page_cache_*() removal in newer kernels
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
client.c
diff --git
a/lustre/ptlrpc/client.c
b/lustre/ptlrpc/client.c
index
59f4cc5
..
df2aa13
100644
(file)
--- a/
lustre/ptlrpc/client.c
+++ b/
lustre/ptlrpc/client.c
@@
-220,7
+220,7
@@
void __ptlrpc_prep_bulk_page(struct ptlrpc_bulk_desc *desc,
desc->bd_nob += len;
if (pin)
-
page_cache_get
(page);
+
get_page
(page);
kiov->kiov_page = page;
kiov->kiov_offset = pageoffset;