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:
76a9ab9
)
- Attempted fix for the crash-during-unload-after-ldlm-test bug
author
pschwan
<pschwan>
Wed, 17 Jul 2002 18:47:59 +0000
(18:47 +0000)
committer
pschwan
<pschwan>
Wed, 17 Jul 2002 18:47:59 +0000
(18:47 +0000)
lustre/ldlm/ldlm_test.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_test.c
b/lustre/ldlm/ldlm_test.c
index
61c3224
..
8cd970a
100644
(file)
--- a/
lustre/ldlm/ldlm_test.c
+++ b/
lustre/ldlm/ldlm_test.c
@@
-177,6
+177,8
@@
static int ldlm_test_network(struct obd_device *obddev,
&ext, sizeof(ext), LCK_PR, &flags, NULL, NULL, 0,
&lockh1);
CERROR("ldlm_cli_enqueue: %d\n", err);
+ if (err == ELDLM_OK)
+ ldlm_lock_decref(&lockh1, LCK_PR);
RETURN(err);
}