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]
/
lnet
/
klnds
/
socklnd
/
socklnd_lib.c
diff --git
a/lnet/klnds/socklnd/socklnd_lib.c
b/lnet/klnds/socklnd/socklnd_lib.c
index
e26db71
..
db244c8
100644
(file)
--- a/
lnet/klnds/socklnd/socklnd_lib.c
+++ b/
lnet/klnds/socklnd/socklnd_lib.c
@@
-287,7
+287,7
@@
ksocknal_lib_kiov_vmap(lnet_kiov_t *kiov, int niov,
for (nob = i = 0; i < niov; i++) {
if ((kiov[i].kiov_offset != 0 && i > 0) ||
(kiov[i].kiov_offset + kiov[i].kiov_len !=
- PAGE_
CACHE_
SIZE && i < niov - 1))
+ PAGE_SIZE && i < niov - 1))
return NULL;
pages[i] = kiov[i].kiov_page;