diff options
Diffstat (limited to 'fs/nfs/callback.c')
-rw-r--r-- | fs/nfs/callback.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c index e244cdc7afab..7933e2e99dbc 100644 --- a/fs/nfs/callback.c +++ b/fs/nfs/callback.c | |||
@@ -58,7 +58,6 @@ module_param_call(callback_tcpport, param_set_port, param_get_int, | |||
58 | */ | 58 | */ |
59 | static void nfs_callback_svc(struct svc_rqst *rqstp) | 59 | static void nfs_callback_svc(struct svc_rqst *rqstp) |
60 | { | 60 | { |
61 | struct svc_serv *serv = rqstp->rq_server; | ||
62 | int err; | 61 | int err; |
63 | 62 | ||
64 | __module_get(THIS_MODULE); | 63 | __module_get(THIS_MODULE); |
@@ -80,7 +79,7 @@ static void nfs_callback_svc(struct svc_rqst *rqstp) | |||
80 | /* | 79 | /* |
81 | * Listen for a request on the socket | 80 | * Listen for a request on the socket |
82 | */ | 81 | */ |
83 | err = svc_recv(serv, rqstp, MAX_SCHEDULE_TIMEOUT); | 82 | err = svc_recv(rqstp, MAX_SCHEDULE_TIMEOUT); |
84 | if (err == -EAGAIN || err == -EINTR) | 83 | if (err == -EAGAIN || err == -EINTR) |
85 | continue; | 84 | continue; |
86 | if (err < 0) { | 85 | if (err < 0) { |
@@ -91,7 +90,7 @@ static void nfs_callback_svc(struct svc_rqst *rqstp) | |||
91 | } | 90 | } |
92 | dprintk("%s: request from %u.%u.%u.%u\n", __FUNCTION__, | 91 | dprintk("%s: request from %u.%u.%u.%u\n", __FUNCTION__, |
93 | NIPQUAD(rqstp->rq_addr.sin_addr.s_addr)); | 92 | NIPQUAD(rqstp->rq_addr.sin_addr.s_addr)); |
94 | svc_process(serv, rqstp); | 93 | svc_process(rqstp); |
95 | } | 94 | } |
96 | 95 | ||
97 | svc_exit_thread(rqstp); | 96 | svc_exit_thread(rqstp); |