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-12355 llite: totalram_pages changed to atomic_long_t
[fs/lustre-release.git]
/
lustre
/
obdclass
/
lu_object.c
diff --git
a/lustre/obdclass/lu_object.c
b/lustre/obdclass/lu_object.c
index
519ef62
..
0af0a10
100644
(file)
--- a/
lustre/obdclass/lu_object.c
+++ b/
lustre/obdclass/lu_object.c
@@
-907,7
+907,7
@@
static unsigned long lu_htable_order(struct lu_device *top)
*
* Size of lu_object is (arbitrary) taken as 1K (together with inode).
*/
- cache_size =
totalram_pages
;
+ cache_size =
cfs_totalram_pages()
;
#if BITS_PER_LONG == 32
/* limit hashtable size for lowmem systems to low RAM */