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
/
lfsck
/
lfsck_layout.c
diff --git
a/lustre/lfsck/lfsck_layout.c
b/lustre/lfsck/lfsck_layout.c
index
30d0c82
..
034f63a
100644
(file)
--- a/
lustre/lfsck/lfsck_layout.c
+++ b/
lustre/lfsck/lfsck_layout.c
@@
-6978,7
+6978,7
@@
int lfsck_layout_setup(const struct lu_env *env, struct lfsck_instance *lfsck)
if (IS_ERR(root))
GOTO(out, rc = PTR_ERR(root));
- if (unlikely(!dt_try_as_dir(env, root)))
+ if (unlikely(!dt_try_as_dir(env, root
, true
)))
GOTO(out, rc = -ENOTDIR);
obj = local_file_find_or_create(env, lfsck->li_los, root,