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
(from parent 1:
17d419b
)
Branch HEAD
author
adilger
<adilger>
Tue, 8 Jul 2008 21:01:40 +0000
(21:01 +0000)
committer
adilger
<adilger>
Tue, 8 Jul 2008 21:01:40 +0000
(21:01 +0000)
Fix compile warning.
b=15981
lustre/ldlm/ldlm_request.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_request.c
b/lustre/ldlm/ldlm_request.c
index
4e68bee
..
b1418db
100644
(file)
--- a/
lustre/ldlm/ldlm_request.c
+++ b/
lustre/ldlm/ldlm_request.c
@@
-702,7
+702,7
@@
int ldlm_cli_enqueue(struct obd_export *exp, struct ptlrpc_request **reqp,
len = req_capsule_get_size(&req->rq_pill, &RMF_DLM_REQ,
RCL_CLIENT);
LASSERTF(len >= sizeof(*body), "buflen[%d] = %d, not %d\n",
- DLM_LOCKREQ_OFF, len, sizeof(*body));
+ DLM_LOCKREQ_OFF, len,
(int)
sizeof(*body));
}
lock->l_conn_export = exp;