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:
6c9999b
)
b22078 wrong value is used by parse_net
author
Liang Zhen
<Zhen.Liang@sun.com>
Sun, 15 Aug 2010 16:46:00 +0000
(20:46 +0400)
committer
Mikhail Pershin
<tappro@sun.com>
Mon, 16 Aug 2010 20:04:43 +0000
(
00:04
+0400)
i=nathan i=robert i=qiang.wu
lustre/obdclass/obd_config.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/obd_config.c
b/lustre/obdclass/obd_config.c
index
96c853a
..
9ebd6a5
100644
(file)
--- a/
lustre/obdclass/obd_config.c
+++ b/
lustre/obdclass/obd_config.c
@@
-171,7
+171,7
@@
static int parse_nid(char *buf, void *value)
static int parse_net(char *buf, void *value)
{
static int parse_net(char *buf, void *value)
{
- __u32 *net = (__u32 *)
net
;
+ __u32 *net = (__u32 *)
value
;
*net = libcfs_str2net(buf);
CDEBUG(D_INFO, "Net %s\n", libcfs_net2str(*net));
*net = libcfs_str2net(buf);
CDEBUG(D_INFO, "Net %s\n", libcfs_net2str(*net));