Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e56a8f
)
landing patch for bug 5272 - making copy of list instead of using reference
author
nkj
<nkj>
Wed, 26 Jan 2005 12:44:13 +0000
(12:44 +0000)
committer
nkj
<nkj>
Wed, 26 Jan 2005 12:44:13 +0000
(12:44 +0000)
lustre/utils/lconf
patch
|
blob
|
history
diff --git
a/lustre/utils/lconf
b/lustre/utils/lconf
index
a4c793e
..
6de734a
100755
(executable)
--- a/
lustre/utils/lconf
+++ b/
lustre/utils/lconf
@@
-1110,7
+1110,8
@@
class kmod:
def cleanup_module(self):
"""Unload the modules in the list in reverse order."""
- rev = self.kmodule_list
+
+ rev = self.kmodule_list[:] # make *copy* of list
rev.reverse()
for src_dir, dev_dir, mod in rev:
if not mod_loaded(mod) and not config.noexec: