diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-12-14 10:05:42 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-12-16 12:37:26 -0500 |
commit | 7db836d4a427c3c64406b00b6d8d745d6335d72a (patch) | |
tree | 63f1ae586db1945badf8a65e34f49113a4981c5e /fs/lockd/svc4proc.c | |
parent | 723bb5b5052faba57060a2feb564ced22416b5bc (diff) |
lockd: Split nlm_release_call()
The nlm_release_call() function is invoked from both the server and
the client side. We're about to introduce a distinct server- and
client-side nlm_release_host(), so nlm_release_call() must first be
split into a client-side and a server-side version.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/lockd/svc4proc.c')
-rw-r--r-- | fs/lockd/svc4proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/lockd/svc4proc.c b/fs/lockd/svc4proc.c index 38d261192453..c187422026d8 100644 --- a/fs/lockd/svc4proc.c +++ b/fs/lockd/svc4proc.c | |||
@@ -229,7 +229,7 @@ static void nlm4svc_callback_exit(struct rpc_task *task, void *data) | |||
229 | 229 | ||
230 | static void nlm4svc_callback_release(void *data) | 230 | static void nlm4svc_callback_release(void *data) |
231 | { | 231 | { |
232 | nlm_release_call(data); | 232 | nlmsvc_release_call(data); |
233 | } | 233 | } |
234 | 234 | ||
235 | static const struct rpc_call_ops nlm4svc_callback_ops = { | 235 | static const struct rpc_call_ops nlm4svc_callback_ops = { |
@@ -261,7 +261,7 @@ static __be32 nlm4svc_callback(struct svc_rqst *rqstp, u32 proc, struct nlm_args | |||
261 | 261 | ||
262 | stat = func(rqstp, argp, &call->a_res); | 262 | stat = func(rqstp, argp, &call->a_res); |
263 | if (stat != 0) { | 263 | if (stat != 0) { |
264 | nlm_release_call(call); | 264 | nlmsvc_release_call(call); |
265 | return stat; | 265 | return stat; |
266 | } | 266 | } |
267 | 267 | ||