X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftarget%2Ftgt_lastrcvd.c;h=8b0f9a015e7ea4ffbb37d68ac49cccebc645d1ae;hp=d1afc9d5a5f13eaed795b9ae184f9dc688c1b3bd;hb=892078e3b566c04471e7dcf2c28e66f2f3584f93;hpb=bfa4bc911208f7a7a447984a40266c70ad8814ab diff --git a/lustre/target/tgt_lastrcvd.c b/lustre/target/tgt_lastrcvd.c index d1afc9d..8b0f9a0 100644 --- a/lustre/target/tgt_lastrcvd.c +++ b/lustre/target/tgt_lastrcvd.c @@ -1459,6 +1459,12 @@ static int tgt_clients_data_init(const struct lu_env *env, class_export_put(exp); + rc = rev_import_init(exp); + if (rc != 0) { + class_unlink_export(exp); + GOTO(err_out, rc); + } + /* Need to check last_rcvd even for duplicated exports. */ CDEBUG(D_OTHER, "client at idx %d has last_transno = "LPU64"\n", cl_idx, last_transno);