Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix statfs for new ptlrpc interface in head.
[fs/lustre-release.git]
/
lustre
/
ldlm
/
ldlm_resource.c
diff --git
a/lustre/ldlm/ldlm_resource.c
b/lustre/ldlm/ldlm_resource.c
index
a92454d
..
26d8de9
100644
(file)
--- a/
lustre/ldlm/ldlm_resource.c
+++ b/
lustre/ldlm/ldlm_resource.c
@@
-78,7
+78,8
@@
static void cleanup_resource(struct ldlm_resource *res, struct list_head *q)
if (client) {
struct lustre_handle lockh;
ldlm_lock2handle(lock, &lockh);
- rc = ldlm_cli_cancel(&lockh);
+ /* can we get away without a connh here? */
+ rc = ldlm_cli_cancel(&lockh, NULL);
if (rc < 0) {
CERROR("ldlm_cli_cancel: %d\n", rc);
LBUG();