Whamcloud - gitweb
* fix module cleanup, previous commit broke it
authorrread <rread>
Tue, 3 Sep 2002 23:04:22 +0000 (23:04 +0000)
committerrread <rread>
Tue, 3 Sep 2002 23:04:22 +0000 (23:04 +0000)
lustre/utils/lconf

index 5449d55..ca0745c 100755 (executable)
@@ -629,7 +629,7 @@ class Module:
         """Unload the modules in the list in reverse order."""
         rev = self.kmodule_list
         rev.reverse()
-        for mod in rev:
+        for dev_dir, mod in rev:
             if not self.mod_loaded(mod):
                 continue
             log('unloading module:', mod)