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:
9aa6b13
)
- remove unneeded parameter to obd_create/destroy
author
rread
<rread>
Tue, 2 Jul 2002 01:32:42 +0000
(
01:32
+0000)
committer
rread
<rread>
Tue, 2 Jul 2002 01:32:42 +0000
(
01:32
+0000)
lustre/obdclass/class_obd.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/class_obd.c
b/lustre/obdclass/class_obd.c
index
c997012
..
92ccd51
100644
(file)
--- a/
lustre/obdclass/class_obd.c
+++ b/
lustre/obdclass/class_obd.c
@@
-422,11
+422,10
@@
static int obd_class_ioctl (struct inode * inode, struct file * filp,
}
case OBD_IOC_CREATE: {
- void *ea;
obd_data2conn(&conn, data);
- err = obd_create(&conn, &data->ioc_obdo1
, &ea
);
+ err = obd_create(&conn, &data->ioc_obdo1);
if (err)
GOTO(out, err);
@@
-456,10
+455,9
@@
static int obd_class_ioctl (struct inode * inode, struct file * filp,
}
case OBD_IOC_DESTROY: {
- void *ea;
obd_data2conn(&conn, data);
- err = obd_destroy(&conn, &data->ioc_obdo1
, ea
);
+ err = obd_destroy(&conn, &data->ioc_obdo1);
if (err)
GOTO(out, err);