diff options
author | Tom Tucker <tom@opengridcomputing.com> | 2007-12-30 22:07:23 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-02-01 16:42:08 -0500 |
commit | 5d137990f5860451a6e0428e0903f62933d05287 (patch) | |
tree | 71f57e8a13138530c8c82f9de19067687d0b428d /include/linux/sunrpc/svcsock.h | |
parent | 490231558e058547da4ffab6d8ce8e28771749cc (diff) |
svc: Move sk_sendto and sk_recvfrom to svc_xprt_class
The sk_sendto and sk_recvfrom are function pointers that allow svc_sock
to be used for both UDP and TCP. Move these function pointers to the
svc_xprt_ops structure.
Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Acked-by: Neil Brown <neilb@suse.de>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Greg Banks <gnb@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux/sunrpc/svcsock.h')
-rw-r--r-- | include/linux/sunrpc/svcsock.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h index 1878cbe1aa4f..08e78d0a364f 100644 --- a/include/linux/sunrpc/svcsock.h +++ b/include/linux/sunrpc/svcsock.h | |||
@@ -45,9 +45,6 @@ struct svc_sock { | |||
45 | * be revisted */ | 45 | * be revisted */ |
46 | struct mutex sk_mutex; /* to serialize sending data */ | 46 | struct mutex sk_mutex; /* to serialize sending data */ |
47 | 47 | ||
48 | int (*sk_recvfrom)(struct svc_rqst *rqstp); | ||
49 | int (*sk_sendto)(struct svc_rqst *rqstp); | ||
50 | |||
51 | /* We keep the old state_change and data_ready CB's here */ | 48 | /* We keep the old state_change and data_ready CB's here */ |
52 | void (*sk_ostate)(struct sock *); | 49 | void (*sk_ostate)(struct sock *); |
53 | void (*sk_odata)(struct sock *, int bytes); | 50 | void (*sk_odata)(struct sock *, int bytes); |