X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flov%2Flov_io.c;h=7ac4590ff9226c6d5aaff75eb71726f7c032d3a6;hp=4c4f32fec11dc3b4fe12521c69188a5729bc8934;hb=893e5a99e766ab97e95217b7b201b9d293bed6e0;hpb=6f60a28206b2755a9aa158d82713b73efa09e81b diff --git a/lustre/lov/lov_io.c b/lustre/lov/lov_io.c index 4c4f32f..7ac4590f 100644 --- a/lustre/lov/lov_io.c +++ b/lustre/lov/lov_io.c @@ -956,7 +956,7 @@ lov_io_data_version_end(const struct lu_env *env, const struct cl_io_slice *ios) list_for_each_entry(sub, &lio->lis_active, sub_linkage) { struct cl_data_version_io *sdv = &sub->sub_io.u.ci_data_version; - lov_io_end_wrapper(env, &sub->sub_io); + lov_io_end_wrapper(sub->sub_env, &sub->sub_io); pdv->dv_data_version += sdv->dv_data_version; if (pdv->dv_layout_version > sdv->dv_layout_version)