Whamcloud - gitweb
LU-1750 ofd: always update last_id.
[fs/lustre-release.git] / lustre / ofd / ofd_obd.c
index 88943af..c21b7f8 100644 (file)
@@ -1230,6 +1230,7 @@ int ofd_create(const struct lu_env *env, struct obd_export *exp,
                        CERROR("%s:["LPU64"] destroys_in_progress already"
                               " cleared\n", exp->exp_obd->obd_name,
                               ostid_seq(&oa->o_oi));
+                       ostid_set_id(&oa->o_oi, ofd_seq_last_oid(oseq));
                        GOTO(out, rc = 0);
                }
                diff = ostid_id(&oa->o_oi) - ofd_seq_last_oid(oseq);