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-12974 lfsck: dryrun mode shouldn't repair for layout
[fs/lustre-release.git]
/
lustre
/
lfsck
/
lfsck_lib.c
diff --git
a/lustre/lfsck/lfsck_lib.c
b/lustre/lfsck/lfsck_lib.c
index
4b622a7
..
bf69c6d
100644
(file)
--- a/
lustre/lfsck/lfsck_lib.c
+++ b/
lustre/lfsck/lfsck_lib.c
@@
-1426,6
+1426,9
@@
int lfsck_verify_lpf(const struct lu_env *env, struct lfsck_instance *lfsck)
LASSERT(lfsck->li_master);
+ if (lfsck_is_dryrun(lfsck))
+ RETURN(0);
+
if (lfsck->li_lpf_root_obj != NULL)
RETURN(0);