Whamcloud - gitweb
LU-6376 osp: add RPC lock during RPC send
[fs/lustre-release.git] / lustre / osp / osp_md_object.c
index 2f50b6a..a60417c 100644 (file)
@@ -659,7 +659,7 @@ static int osp_md_index_lookup(const struct lu_env *env, struct dt_object *dt,
                GOTO(out, rc);
        }
 
-       rc = out_remote_sync(env, osp->opd_obd->u.cli.cl_import, update, &req);
+       rc = osp_remote_sync(env, osp, update, &req, false);
        if (rc < 0)
                GOTO(out, rc);