Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=16727
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
layout.c
diff --git
a/lustre/ptlrpc/layout.c
b/lustre/ptlrpc/layout.c
index
e0e11b0
..
9fd874a
100644
(file)
--- a/
lustre/ptlrpc/layout.c
+++ b/
lustre/ptlrpc/layout.c
@@
-1373,8
+1373,11
@@
static void *__req_capsule_get(struct req_capsule *pill,
[RCL_SERVER] = "server"
};
+ LASSERT(pill != NULL);
+ LASSERT(pill != LP_POISON);
fmt = pill->rc_fmt;
LASSERT(fmt != NULL);
+ LASSERT(fmt != LP_POISON);
LASSERT(__req_format_is_sane(fmt));
offset = __req_capsule_offset(pill, field, loc);