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:
378c01e
)
fixed a defect found by nikita:
author
huanghua
<huanghua>
Fri, 4 Aug 2006 16:23:33 +0000
(16:23 +0000)
committer
huanghua
<huanghua>
Fri, 4 Aug 2006 16:23:33 +0000
(16:23 +0000)
reply message may have not been packed when updating transno.
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
188bdb0
..
7de9e22
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-1080,7
+1080,9
@@
int mdt_update_last_transno(struct mdt_thread_info *info, int rc)
__u64 last_transno;
__u64 last_committed;
- LASSERT(mdt != NULL);
+ if (mdt == NULL || req == NULL || req->rq_repmsg == NULL)
+ return -EFAULT;
+
last_committed = mdt->mdt_last_committed;
if (rc == 0) {