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:
88d3bca
)
Branch HEAD
author
bwzhou
<bwzhou>
Mon, 25 Feb 2008 13:32:36 +0000
(13:32 +0000)
committer
bwzhou
<bwzhou>
Mon, 25 Feb 2008 13:32:36 +0000
(13:32 +0000)
b=13285
r=johann, deen
prints message to console about locks.
lustre/ldlm/ldlm_flock.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_flock.c
b/lustre/ldlm/ldlm_flock.c
index
919097b
..
3abad6f
100644
(file)
--- a/
lustre/ldlm/ldlm_flock.c
+++ b/
lustre/ldlm/ldlm_flock.c
@@
-431,6
+431,7
@@
ldlm_flock_interrupted_wait(void *data)
{
struct ldlm_lock *lock;
struct lustre_handle lockh;
+ int rc;
ENTRY;
lock = ((struct ldlm_flock_wait_data *)data)->fwd_lock;
@@
-443,7
+444,10
@@
ldlm_flock_interrupted_wait(void *data)
ldlm_lock_decref_internal(lock, lock->l_req_mode);
ldlm_lock2handle(lock, &lockh);
- ldlm_cli_cancel(&lockh);
+ rc = ldlm_cli_cancel(&lockh);
+ if (rc != ELDLM_OK)
+ CERROR("ldlm_cli_cancel: %d\n", rc);
+
EXIT;
}