}
int fld_index_init(const struct lu_env *env, struct lu_server_fld *fld,
- struct dt_device *dt)
+ struct dt_device *dt, int type)
{
struct dt_object *dt_obj = NULL;
struct lu_fid fid;
else
rc = 0;
- if (index == 0) {
+ if (index == 0 && type == LU_SEQ_RANGE_MDT) {
/* Note: fld_insert_entry will detect whether these
* special entries already exist inside FLDB */
mutex_lock(&fld->lsf_lock);