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-1346 libcfs: replace cfs_ memory wrappers
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
debug.c
diff --git
a/libcfs/libcfs/debug.c
b/libcfs/libcfs/debug.c
index
c80af9c
..
cfa027e
100644
(file)
--- a/
libcfs/libcfs/debug.c
+++ b/
libcfs/libcfs/debug.c
@@
-414,7
+414,7
@@
int libcfs_debug_init(unsigned long bufsize)
max = TCD_MAX_PAGES;
} else {
max = (max / cfs_num_possible_cpus());
-
max = (max << (20 - CFS_PAG
E_SHIFT));
+
max = (max << (20 - PAGE_CACH
E_SHIFT));
}
rc = cfs_tracefile_init(max);