Whamcloud - gitweb
- needless CWARN() removed
authoralex <alex>
Wed, 27 Apr 2005 03:30:42 +0000 (03:30 +0000)
committeralex <alex>
Wed, 27 Apr 2005 03:30:42 +0000 (03:30 +0000)
lustre/lmv/lmv_obd.c

index 0a39316..afc2876 100644 (file)
@@ -639,10 +639,8 @@ static int lmv_statfs(struct obd_device *obd, struct obd_statfs *osfs,
                 RETURN(-ENOMEM);
                 
         for (i = 0; i < lmv->desc.ld_tgt_count; i++) {
                 RETURN(-ENOMEM);
                 
         for (i = 0; i < lmv->desc.ld_tgt_count; i++) {
-                if (lmv->tgts[i].ltd_exp == NULL) {
-                        CWARN("%s: NULL export for %d\n", obd->obd_name, i);
+                if (lmv->tgts[i].ltd_exp == NULL)
                         continue;
                         continue;
-                }
 
                 rc = obd_statfs(lmv->tgts[i].ltd_exp->exp_obd, temp, max_age);
                 if (rc) {
 
                 rc = obd_statfs(lmv->tgts[i].ltd_exp->exp_obd, temp, max_age);
                 if (rc) {