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:
e5b4b49
)
fix for gcc4 otherwise we get "invalid storage class".
author
qiyong
<qiyong>
Wed, 31 May 2006 18:32:30 +0000
(18:32 +0000)
committer
qiyong
<qiyong>
Wed, 31 May 2006 18:32:30 +0000
(18:32 +0000)
lustre/utils/obd.c
patch
|
blob
|
history
diff --git
a/lustre/utils/obd.c
b/lustre/utils/obd.c
index
96cb3a0
..
bdb9798
100644
(file)
--- a/
lustre/utils/obd.c
+++ b/
lustre/utils/obd.c
@@
-153,6
+153,8
@@
int lcfg_ioctl(char * func, int dev_id, struct lustre_cfg *lcfg)
return rc;
}
+static int do_device(char *func, char *devname);
+
int lcfg_mgs_ioctl(char *func, int dev_id, struct lustre_cfg *lcfg)
{
struct obd_ioctl_data data;
@@
-161,7
+163,6
@@
int lcfg_mgs_ioctl(char *func, int dev_id, struct lustre_cfg *lcfg)
/* Always operates on MGS dev */
if (mgs_device == -1) {
- static int do_device(char *func, char *devname);
do_disconnect(NULL, 1);
rc = do_device("mgsioc", "MGS");
if (rc) {