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:
fe852b9
)
fixed a refcount bug for types.
author
braam
<braam>
Thu, 23 Dec 1999 18:07:05 +0000
(18:07 +0000)
committer
braam
<braam>
Thu, 23 Dec 1999 18:07:05 +0000
(18:07 +0000)
lustre/obdclass/class_obd.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/class_obd.c
b/lustre/obdclass/class_obd.c
index
de5df3f
..
68d586f
100644
(file)
--- a/
lustre/obdclass/class_obd.c
+++ b/
lustre/obdclass/class_obd.c
@@
-451,6
+451,7
@@
static int obd_class_ioctl (struct inode * inode, struct file * filp,
obddev->obd_type->typ_name);
if ( !obddev->obd_type->typ_ops ||
!obddev->obd_type->typ_ops->o_setup ) {
+ obddev->obd_type->typ_refcnt++;
obddev->obd_flags |= OBD_SET_UP;
return 0;
}