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:
4228284
)
Only put the ldlm connection if we are not connected locally.
author
adilger
<adilger>
Mon, 22 Apr 2002 18:18:28 +0000
(18:18 +0000)
committer
adilger
<adilger>
Mon, 22 Apr 2002 18:18:28 +0000
(18:18 +0000)
lustre/ldlm/ldlm_lockd.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_lockd.c
b/lustre/ldlm/ldlm_lockd.c
index
4e97c14
..
72a0622
100644
(file)
--- a/
lustre/ldlm/ldlm_lockd.c
+++ b/
lustre/ldlm/ldlm_lockd.c
@@
-265,7
+265,8
@@
static int ldlm_iocontrol(int cmd, struct obd_conn *conn, int len, void *karg,
}
out:
- ptlrpc_put_connection(connection);
+ if (connection)
+ ptlrpc_put_connection(connection);
return err;
}