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-12518 llite: proper names/types for offset/pages
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_io.c
diff --git
a/lustre/mdt/mdt_io.c
b/lustre/mdt/mdt_io.c
index
e18d6f1
..
8bcb65f
100644
(file)
--- a/
lustre/mdt/mdt_io.c
+++ b/
lustre/mdt/mdt_io.c
@@
-1511,7
+1511,7
@@
int mdt_dom_read_on_open(struct mdt_thread_info *mti, struct mdt_device *mdt,
len = tail;
offset = mbo->mbo_dom_size - len;
}
- LASSERT((offset
% PAGE_SIZE
) == 0);
+ LASSERT((offset
& ~PAGE_MASK
) == 0);
rc = req_capsule_server_grow(pill, &RMF_NIOBUF_INLINE,
sizeof(*rnb) + len);
if (rc != 0) {