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
/
osd-ldiskfs
/
osd_lproc.c
diff --git
a/lustre/osd-ldiskfs/osd_lproc.c
b/lustre/osd-ldiskfs/osd_lproc.c
index
8171fbe
..
48a8624
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_lproc.c
+++ b/
lustre/osd-ldiskfs/osd_lproc.c
@@
-63,7
+63,7
@@
void osd_brw_stats_update(struct osd_device *osd, struct osd_iobuf *iobuf)
if (unlikely(nr_pages == 0))
return;
- blocks_per_page = PAGE_
CACHE_
SIZE >> osd_sb(osd)->s_blocksize_bits;
+ blocks_per_page = PAGE_SIZE >> osd_sb(osd)->s_blocksize_bits;
lprocfs_oh_tally_log2(&s->hist[BRW_R_PAGES+rw], nr_pages);