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-4615 lfsck: verify index before locating target descriptor
[fs/lustre-release.git]
/
lustre
/
lfsck
/
lfsck_striped_dir.c
diff --git
a/lustre/lfsck/lfsck_striped_dir.c
b/lustre/lfsck/lfsck_striped_dir.c
index
8ed965c
..
7bf4ac0
100644
(file)
--- a/
lustre/lfsck/lfsck_striped_dir.c
+++ b/
lustre/lfsck/lfsck_striped_dir.c
@@
-2299,7
+2299,7
@@
int lfsck_namespace_handle_striped_master(const struct lu_env *env,
GOTO(out, rc);
}
- ltd =
LTD_TGT
(&lfsck->li_mdt_descs, shard_idx);
+ ltd =
lfsck_ltd2tgt
(&lfsck->li_mdt_descs, shard_idx);
if (unlikely(ltd == NULL)) {
CDEBUG(D_LFSCK, "%s: cannot talk with MDT %x which "
"did not join the namespace LFSCK\n",