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-2689 interop: use stripe md in ll_update_inode()
[fs/lustre-release.git]
/
lustre
/
lclient
/
lcommon_cl.c
diff --git
a/lustre/lclient/lcommon_cl.c
b/lustre/lclient/lcommon_cl.c
index
0ad8f1e
..
41ebae9
100644
(file)
--- a/
lustre/lclient/lcommon_cl.c
+++ b/
lustre/lclient/lcommon_cl.c
@@
-368,6
+368,7
@@
int ccc_object_init0(const struct lu_env *env,
{
vob->cob_inode = conf->coc_inode;
vob->cob_transient_pages = 0;
+ cl_object_page_init(&vob->cob_cl, sizeof(struct ccc_page));
return 0;
}
@@
-1199,7
+1200,10
@@
int cl_file_inode_init(struct inode *inode, struct lustre_md *md)
lu_object_ref_add(&clob->co_lu, "inode", inode);
} else
result = PTR_ERR(clob);
- }
+ } else {
+ result = cl_conf_set(env, lli->lli_clob, &conf);
+ }
+
cl_env_put(env, &refcheck);
if (result != 0)