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:
48961c4
)
branch: HEAD
author
ericm
<ericm>
Tue, 14 Apr 2009 20:36:46 +0000
(20:36 +0000)
committer
ericm
<ericm>
Tue, 14 Apr 2009 20:36:46 +0000
(20:36 +0000)
Fix null pointer reference of rq_export, which maybe null in case of gss.
b=18983
r=fanyong
r=wangdi
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
9f0ea54
..
661ad8e
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-2585,7
+2585,7
@@
static int mdt_req_handle(struct mdt_thread_info *info,
}
/* If we're DISCONNECTing, the mdt_export_data is already freed */
- if (likely(rc == 0 && h->mh_opc != MDS_DISCONNECT))
+ if (likely(rc == 0 &&
req->rq_export &&
h->mh_opc != MDS_DISCONNECT))
target_committed_to_req(req);
if (unlikely((lustre_msg_get_flags(req->rq_reqmsg) & MSG_REPLAY) &&