.lsr_flags = LU_SEQ_RANGE_MDT
};
+static const struct lu_seq_range DOT_LUSTRE_FLD_RANGE = {
+ .lsr_start = FID_SEQ_DOT_LUSTRE,
+ .lsr_end = FID_SEQ_DOT_LUSTRE + 1,
+ .lsr_index = 0,
+ .lsr_flags = LU_SEQ_RANGE_MDT
+};
+
static const struct lu_seq_range ROOT_FLD_RANGE = {
.lsr_start = FID_SEQ_ROOT,
.lsr_end = FID_SEQ_ROOT + 1,
if (rc != 0)
RETURN(rc);
+ rc = fld_insert_entry(env, fld, &DOT_LUSTRE_FLD_RANGE);
+ if (rc != 0)
+ RETURN(rc);
+
rc = fld_insert_entry(env, fld, &ROOT_FLD_RANGE);
RETURN(rc);