X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftarget%2Ftgt_main.c;h=59fbf1f260aed17b909c46a64e892903d77dc22a;hb=0607e01af74a81d0fe12ceec79bd22810a5dfe92;hp=af22df6c771428e16bc6c44c4bda7458ad4baab9;hpb=08aa217ce49aba1ded52e0f7adb8a607035123fd;p=fs%2Flustre-release.git diff --git a/lustre/target/tgt_main.c b/lustre/target/tgt_main.c index af22df6..59fbf1f 100644 --- a/lustre/target/tgt_main.c +++ b/lustre/target/tgt_main.c @@ -67,7 +67,7 @@ int tgt_init(const struct lu_env *env, struct lu_target *lut, attr.la_mode = S_IFREG | S_IRUGO | S_IWUSR; dof.dof_type = dt_mode_to_dft(S_IFREG); - lu_local_obj_fid(&fid, MDT_LAST_RECV_OID); + lu_local_obj_fid(&fid, LAST_RECV_OID); o = dt_find_or_create(env, lut->lut_bottom, &fid, &dof, &attr); if (!IS_ERR(o)) {