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]
/
libcfs
/
libcfs
/
debug.c
diff --git
a/libcfs/libcfs/debug.c
b/libcfs/libcfs/debug.c
index
673dc9b
..
51cba40
100644
(file)
--- a/
libcfs/libcfs/debug.c
+++ b/
libcfs/libcfs/debug.c
@@
-302,7
+302,7
@@
int libcfs_debug_init(unsigned long bufsize)
max = TCD_MAX_PAGES;
} else {
max = (max / num_possible_cpus());
- max = (max << (20 - PAGE_
CACHE_
SHIFT));
+ max = (max << (20 - PAGE_SHIFT));
}
rc = cfs_tracefile_init(max);