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:
27552dc
)
assert capa buffer which should not be NULL.
author
lsy
<lsy>
Fri, 13 Oct 2006 07:02:59 +0000
(07:02 +0000)
committer
lsy
<lsy>
Fri, 13 Oct 2006 07:02:59 +0000
(07:02 +0000)
lustre/osc/osc_request.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_request.c
b/lustre/osc/osc_request.c
index
1c0cfbc
..
8404c52
100644
(file)
--- a/
lustre/osc/osc_request.c
+++ b/
lustre/osc/osc_request.c
@@
-157,6
+157,7
@@
static inline void osc_pack_capa(struct ptlrpc_request *req, int offset,
return;
c = lustre_msg_buf(req->rq_reqmsg, offset, sizeof(*c));
+ LASSERT(c);
capa_cpy(c, oc);
body->oa.o_valid |= OBD_MD_FLOSSCAPA;
DEBUG_CAPA(D_SEC, c, "pack");