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:
1f72265
)
- vbr interoperability with 1.6
author
tappro
<tappro>
Wed, 20 Aug 2008 20:00:18 +0000
(20:00 +0000)
committer
tappro
<tappro>
Wed, 20 Aug 2008 20:00:18 +0000
(20:00 +0000)
b:15942
i:rread, bzzz
lustre/include/obd.h
patch
|
blob
|
history
diff --git
a/lustre/include/obd.h
b/lustre/include/obd.h
index
eab5a5e
..
94bc838
100644
(file)
--- a/
lustre/include/obd.h
+++ b/
lustre/include/obd.h
@@
-732,7
+732,8
@@
static inline void oti_init(struct obd_trans_info *oti,
if (req->rq_reqmsg != NULL &&
lustre_msg_get_flags(req->rq_reqmsg) & MSG_REPLAY) {
__u64 *pre_version = lustre_msg_get_versions(req->rq_reqmsg);
- oti->oti_pre_version = pre_version[0];
+ /* b1.6 interoperability check. pre_versions may be NULL */
+ oti->oti_pre_version = pre_version ? pre_version[0] : 0;
oti->oti_transno = lustre_msg_get_transno(req->rq_reqmsg);
}