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
/
include
/
lustre_patchless_compat.h
diff --git
a/lustre/include/lustre_patchless_compat.h
b/lustre/include/lustre_patchless_compat.h
index
cefa869
..
58daecf
100644
(file)
--- a/
lustre/include/lustre_patchless_compat.h
+++ b/
lustre/include/lustre_patchless_compat.h
@@
-95,7
+95,7
@@
truncate_complete_page(struct address_space *mapping, struct page *page)
if (PagePrivate(page))
#ifdef HAVE_INVALIDATE_RANGE
- page->mapping->a_ops->invalidatepage(page, 0, PAGE_
CACHE_
SIZE);
+ page->mapping->a_ops->invalidatepage(page, 0, PAGE_SIZE);
#else
page->mapping->a_ops->invalidatepage(page, 0);
#endif