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-8569 lfsck: cleanup lfsck requests list before exit
[fs/lustre-release.git]
/
lustre
/
lfsck
/
lfsck_layout.c
diff --git
a/lustre/lfsck/lfsck_layout.c
b/lustre/lfsck/lfsck_layout.c
index
06fb33c
..
d1cff12
100644
(file)
--- a/
lustre/lfsck/lfsck_layout.c
+++ b/
lustre/lfsck/lfsck_layout.c
@@
-5535,6
+5535,10
@@
static void lfsck_layout_assistant_fill_pos(const struct lu_env *env,
struct lfsck_assistant_data *lad = com->lc_data;
struct lfsck_layout_req *llr;
struct lfsck_assistant_data *lad = com->lc_data;
struct lfsck_layout_req *llr;
+ if (((struct lfsck_layout *)(com->lc_file_ram))->ll_status !=
+ LS_SCANNING_PHASE1)
+ return;
+
if (list_empty(&lad->lad_req_list))
return;
if (list_empty(&lad->lad_req_list))
return;