Whamcloud - gitweb
- ensure lovconfig returns 0 on success
authorrread <rread>
Fri, 9 Aug 2002 19:55:07 +0000 (19:55 +0000)
committerrread <rread>
Fri, 9 Aug 2002 19:55:07 +0000 (19:55 +0000)
lustre/mds/mds_lov.c

index 9c3a91f..0fae285 100644 (file)
@@ -68,7 +68,8 @@ int mds_configure_lov(struct obd_device *obd, struct lov_desc *desc,
                         if (rc >= 0)
                                 rc = -EIO;
                         break;
-                }
+                } else
+                        rc = 0;
         }
         if (filp_close(f, 0))
                 CERROR("Error closing LOVTGTS file\n");