Whamcloud - gitweb
LU-16623 lod: handle object allocation consistently
[fs/lustre-release.git] / lustre / lod / lod_pool.c
index a2e7df4..3f05f3f 100644 (file)
@@ -794,7 +794,7 @@ void lod_spill_target_refresh(const struct lu_env *env, struct lod_device *lod,
                if (!test_bit(idx, lod->lod_ost_bitmap))
                        continue;
                tgt = OST_TGT(lod, idx);
-               if (tgt->ltd_active == 0)
+               if (!tgt->ltd_active)
                        continue;
                sfs = &tgt->ltd_statfs;