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
/
lov
/
lov_offset.c
diff --git
a/lustre/lov/lov_offset.c
b/lustre/lov/lov_offset.c
index
a6056e2
..
0032131
100644
(file)
--- a/
lustre/lov/lov_offset.c
+++ b/
lustre/lov/lov_offset.c
@@
-76,9
+76,9
@@
pgoff_t lov_stripe_pgoff(struct lov_stripe_md *lsm, pgoff_t stripe_index,
{
loff_t offset;
- offset = lov_stripe_size(lsm, (stripe_index << PAGE_
CACHE_
SHIFT) + 1,
+ offset = lov_stripe_size(lsm, (stripe_index << PAGE_SHIFT) + 1,
stripe);
- return offset >> PAGE_
CACHE_
SHIFT;
+ return offset >> PAGE_SHIFT;
}
/* we have an offset in file backed by an lov and want to find out where