projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lockd: shift grabbing a reference to nlm_host into nlm_alloc_call()
[linux-2.6-block.git]
/
fs
/
lockd
/
svcproc.c
diff --git
a/fs/lockd/svcproc.c
b/fs/lockd/svcproc.c
index d27aab11f32414ae165cec40083ef20f08de0466..90cfe9a0bf5595058cf257d69bb5726173cadd21 100644
(file)
--- a/
fs/lockd/svcproc.c
+++ b/
fs/lockd/svcproc.c
@@
-294,6
+294,7
@@
static __be32 nlmsvc_callback(struct svc_rqst *rqstp, u32 proc, struct nlm_args
return rpc_system_err;
call = nlm_alloc_call(host);
return rpc_system_err;
call = nlm_alloc_call(host);
+ nlmsvc_release_host(host);
if (call == NULL)
return rpc_system_err;
if (call == NULL)
return rpc_system_err;