From: Sergey Cheremencev Date: Tue, 20 Jul 2021 09:24:33 +0000 (+0300) Subject: LU-14866 lod: remove duplicate OST_TGT X-Git-Tag: 2.14.56~162 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=d5ec719c10870458ac804b7e38ab886e9c184161;p=fs%2Flustre-release.git LU-14866 lod: remove duplicate OST_TGT Remove duplicate OST_TGT from lod_ost_alloc_qos. Change-Id: I4fbe2daa057f23a60e31e59d7c0db592945a5363 Fixes: 2112ccb3c4 ("LU-13073 osp: don't block waiting for new objects") Signed-off-by: Sergey Cheremencev Reviewed-on: https://review.whamcloud.com/44351 Reviewed-by: James Simmons Reviewed-by: Andreas Dilger Tested-by: jenkins Tested-by: Maloo --- diff --git a/lustre/lod/lod_qos.c b/lustre/lod/lod_qos.c index f772e53..cafdc25 100644 --- a/lustre/lod/lod_qos.c +++ b/lustre/lod/lod_qos.c @@ -1535,7 +1535,7 @@ static int lod_ost_alloc_qos(const struct lu_env *env, struct lod_object *lo, */ for (i = 0; i < osts->op_count; i++) { __u32 idx = osts->op_array[i]; - struct lod_tgt_desc *ost = OST_TGT(lod, idx); + struct lod_tgt_desc *ost; if (lod_should_avoid_ost(lo, lag, idx)) continue;