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:
5af1d2c
)
Branch b1_8_gate
author
huanghua
<huanghua>
Fri, 11 Jul 2008 05:22:26 +0000
(
05:22
+0000)
committer
huanghua
<huanghua>
Fri, 11 Jul 2008 05:22:26 +0000
(
05:22
+0000)
b=11930
i=adilger
i=nikita.danilov
i=alex
lustre/obdclass/genops.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/genops.c
b/lustre/obdclass/genops.c
index
31847ad
..
9e9a1a2
100644
(file)
--- a/
lustre/obdclass/genops.c
+++ b/
lustre/obdclass/genops.c
@@
-834,6
+834,10
@@
struct obd_import *class_new_import(struct obd_device *obd)
class_handle_hash(&imp->imp_handle, import_handle_addref);
init_imp_at(&imp->imp_at);
+/* b1_8 supports both v1 & v2. but HEAD only supports v2.
+ * So let's use v2.
+ */
+#define HAVE_DEFAULT_V2_CONNECT 1
#ifdef HAVE_DEFAULT_V2_CONNECT
/* the default magic is V2, will be used in connect RPC, and
* then adjusted according to the flags in request/reply. */