Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-15902 obdclass: dt_try_as_dir() check dir exists
[fs/lustre-release.git]
/
lustre
/
obdclass
/
local_storage.c
diff --git
a/lustre/obdclass/local_storage.c
b/lustre/obdclass/local_storage.c
index
2e2a0c4
..
91518ac
100644
(file)
--- 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) {
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;
GOTO(trans_stop, rc = -ENOTDIR);
rec->rec_type = S_IFDIR;