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-6245 libcfs: remove mem wrappers for libcfs
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
nrs_orr.c
diff --git
a/lustre/ptlrpc/nrs_orr.c
b/lustre/ptlrpc/nrs_orr.c
index
d72c597
..
9b8ad5d
100644
(file)
--- a/
lustre/ptlrpc/nrs_orr.c
+++ b/
lustre/ptlrpc/nrs_orr.c
@@
-196,9
+196,9
@@
static void nrs_orr_range_fill_logical(struct niobuf_remote *nb, int niocount,
struct nrs_orr_req_range *range)
{
/* Should we do this at page boundaries ? */
struct nrs_orr_req_range *range)
{
/* Should we do this at page boundaries ? */
- range->or_start = nb[0].rnb_offset &
CFS_
PAGE_MASK;
+ range->or_start = nb[0].rnb_offset & PAGE_MASK;
range->or_end = (nb[niocount - 1].rnb_offset +
range->or_end = (nb[niocount - 1].rnb_offset +
- nb[niocount - 1].rnb_len - 1) | ~
CFS_
PAGE_MASK;
+ nb[niocount - 1].rnb_len - 1) | ~PAGE_MASK;
}
/**
}
/**