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-9008 pfl: dynamic layout modification with write/truncate
[fs/lustre-release.git]
/
lustre
/
lov
/
lov_page.c
diff --git
a/lustre/lov/lov_page.c
b/lustre/lov/lov_page.c
index
ae74d25
..
19a908f
100644
(file)
--- a/
lustre/lov/lov_page.c
+++ b/
lustre/lov/lov_page.c
@@
-81,7
+81,7
@@
int lov_page_init_composite(const struct lu_env *env, struct cl_object *obj,
offset = cl_offset(obj, index);
entry = lov_lsm_entry(loo->lo_lsm, offset);
- if (entry < 0) {
+ if (entry < 0
|| !lsm_entry_inited(loo->lo_lsm, entry)
) {
/* non-existing layout component */
lov_page_init_empty(env, obj, page, index);
RETURN(0);