X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Flocal_storage.c;h=91518ac123a3bca7bbe10da2e7a49fbfc90db050;hb=1ebc9ed460922e6fcf2432f70f2f6412974e963a;hp=2e2a0c4f5deffbaba8e11041e9881875ba3fe2c9;hpb=40daa59ac41f450b60b42eb2bb0ff42ebd3c998b;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/local_storage.c b/lustre/obdclass/local_storage.c index 2e2a0c4..91518ac 100644 --- a/lustre/obdclass/local_storage.c +++ b/lustre/obdclass/local_storage.c @@ -347,7 +347,7 @@ static struct dt_object *__local_file_create(const struct lu_env *env, GOTO(trans_stop, rc); if (dti->dti_dof.dof_type == DFT_DIR) { - if (!dt_try_as_dir(env, dto)) + if (!dt_try_as_dir(env, dto, false)) GOTO(trans_stop, rc = -ENOTDIR); rec->rec_type = S_IFDIR;