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:
d1dab2c
)
Branch HEAD
author
adilger
<adilger>
Fri, 3 Oct 2008 22:44:36 +0000
(22:44 +0000)
committer
adilger
<adilger>
Fri, 3 Oct 2008 22:44:36 +0000
(22:44 +0000)
Improve LASSERT message.
lustre/ptlrpc/client.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/client.c
b/lustre/ptlrpc/client.c
index
f185808
..
565661a
100644
(file)
--- a/
lustre/ptlrpc/client.c
+++ b/
lustre/ptlrpc/client.c
@@
-575,9
+575,10
@@
struct ptlrpc_request *__ptlrpc_request_alloc(struct obd_import *imp,
OBD_ALLOC_PTR(request);
if (request) {
- LASSERT
((unsigned long)imp > 0x1000
);
+ LASSERT
F((unsigned long)imp > 0x1000, "%p", imp
);
LASSERT(imp != LP_POISON);
- LASSERT((unsigned long)imp->imp_client > 0x1000);
+ LASSERTF((unsigned long)imp->imp_client > 0x1000, "%p",
+ imp->imp_client);
LASSERT(imp->imp_client != LP_POISON);
request->rq_import = class_import_get(imp);