Whamcloud - gitweb
Update b_bug1414 from HEAD (20040317_1808)
authoradilger <adilger>
Thu, 18 Mar 2004 01:19:45 +0000 (01:19 +0000)
committeradilger <adilger>
Thu, 18 Mar 2004 01:19:45 +0000 (01:19 +0000)
lustre/utils/lmc

index f4deff5..98a56db 100755 (executable)
@@ -876,7 +876,7 @@ def add_lov(gen, lustre, options):
     # add an lovconfig entry to the active mdsdev profile
     lovconfig_name = new_name('LVCFG_' + name)
     lovconfig_uuid = new_uuid(lovconfig_name)
-    mds = findByName(lustre, mds_name)
+    mds = findByName(lustre, mds_name, "mds")
     mds.appendChild(gen.ref("lovconfig", lovconfig_uuid))
     lovconfig = gen.lovconfig(lovconfig_name, lovconfig_uuid, uuid)
     lustre.appendChild(lovconfig)