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:
c804099
)
One last fix from yesterday, for forced DLM cleanup after network timeouts
author
pschwan
<pschwan>
Fri, 26 Jul 2002 18:54:59 +0000
(18:54 +0000)
committer
pschwan
<pschwan>
Fri, 26 Jul 2002 18:54:59 +0000
(18:54 +0000)
lustre/ldlm/ldlm_resource.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_resource.c
b/lustre/ldlm/ldlm_resource.c
index
7012ccc
..
fcfca26
100644
(file)
--- a/
lustre/ldlm/ldlm_resource.c
+++ b/
lustre/ldlm/ldlm_resource.c
@@
-80,7
+80,7
@@
static void cleanup_resource(struct ldlm_resource *res, struct list_head *q)
ldlm_lock2handle(lock, &lockh);
/* can we get away without a connh here? */
rc = ldlm_cli_cancel(&lockh);
- if (rc
< 0
) {
+ if (rc
!= ELDLM_OK
) {
/* It failed remotely, but we'll force it to
* cleanup locally. */
CERROR("ldlm_cli_cancel: %d\n", rc);