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:
3126fe8
)
fix previous wrong assertion.
author
niu
<niu>
Wed, 9 Nov 2005 09:49:27 +0000
(09:49 +0000)
committer
niu
<niu>
Wed, 9 Nov 2005 09:49:27 +0000
(09:49 +0000)
b: 6027
lustre/osc/osc_request.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_request.c
b/lustre/osc/osc_request.c
index
898c7c0
..
db8b42d
100644
(file)
--- a/
lustre/osc/osc_request.c
+++ b/
lustre/osc/osc_request.c
@@
-929,7
+929,7
@@
static int osc_brw_fini_request(struct ptlrpc_request *req, struct obdo *oa,
if (rc < 0 && rc != -EDQUOT)
RETURN(rc);
- LASSERTF(
!rc || rc == -EDQUOT
, "rc = %d\n", rc);
+ LASSERTF(
req->rq_repmsg != NULL
, "rc = %d\n", rc);
body = lustre_swab_repbuf(req, 0, sizeof(*body), lustre_swab_ost_body);
if (body == NULL) {
CERROR ("Can't unpack body\n");