diff options
Diffstat (limited to 'fs/lockd')
-rw-r--r-- | fs/lockd/svc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 868691535115..a8e79a907202 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c | |||
@@ -221,10 +221,10 @@ lockd(struct svc_rqst *rqstp) | |||
221 | 221 | ||
222 | static int find_xprt(struct svc_serv *serv, char *proto) | 222 | static int find_xprt(struct svc_serv *serv, char *proto) |
223 | { | 223 | { |
224 | struct svc_sock *svsk; | 224 | struct svc_xprt *xprt; |
225 | int found = 0; | 225 | int found = 0; |
226 | list_for_each_entry(svsk, &serv->sv_permsocks, sk_list) | 226 | list_for_each_entry(xprt, &serv->sv_permsocks, xpt_list) |
227 | if (strcmp(svsk->sk_xprt.xpt_class->xcl_name, proto) == 0) { | 227 | if (strcmp(xprt->xpt_class->xcl_name, proto) == 0) { |
228 | found = 1; | 228 | found = 1; |
229 | break; | 229 | break; |
230 | } | 230 | } |