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:
ac727c6
)
I don't much like crashing
author
pschwan
<pschwan>
Thu, 26 Sep 2002 17:55:55 +0000
(17:55 +0000)
committer
pschwan
<pschwan>
Thu, 26 Sep 2002 17:55:55 +0000
(17:55 +0000)
lustre/ldlm/ldlm_request.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_request.c
b/lustre/ldlm/ldlm_request.c
index
ecbf98a
..
87e5f0b
100644
(file)
--- a/
lustre/ldlm/ldlm_request.c
+++ b/
lustre/ldlm/ldlm_request.c
@@
-23,7
+23,12
@@
static int interrupted_completion_wait(void *data)
static int expired_completion_wait(void *data)
{
struct ldlm_lock *lock = data;
- class_signal_connection_failure(lock->l_export->exp_connection);
+ if (!lock)
+ CERROR("NULL lock\n");
+ else if (!lock->l_export)
+ CERROR("lock %p has NULL export\n", lock);
+ else
+ class_signal_connection_failure(lock->l_export->exp_connection);
RETURN(0);
}