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:
bc13a52
)
Don't try to auto-load obd module when we are just in the process of
author
adilger
<adilger>
Fri, 12 Jul 2002 20:44:28 +0000
(20:44 +0000)
committer
adilger
<adilger>
Fri, 12 Jul 2002 20:44:28 +0000
(20:44 +0000)
registering it.
lustre/obdclass/genops.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/genops.c
b/lustre/obdclass/genops.c
index
509b2ef
..
b6403f3
100644
(file)
--- a/
lustre/obdclass/genops.c
+++ b/
lustre/obdclass/genops.c
@@
-68,7
+68,7
@@
int class_register_type(struct obd_ops *ops, char *nm)
ENTRY;
- if (class_
nm_to
_type(nm)) {
+ if (class_
search
_type(nm)) {
CDEBUG(D_IOCTL, "Type %s already registered\n", nm);
RETURN(-EEXIST);
}