Merge branch 'for-2.6.31' of git://fieldses.org/git/linux-nfsd
[firefly-linux-kernel-4.4.55.git] / include / linux / sunrpc / svcsock.h
index 6bb1ec4ae3108dc963d597658b7332f0c0854aa9..04dba23c59f2c4aead01ab313127368a63b93a05 100644 (file)
@@ -38,8 +38,11 @@ int          svc_recv(struct svc_rqst *, long);
 int            svc_send(struct svc_rqst *);
 void           svc_drop(struct svc_rqst *);
 void           svc_sock_update_bufs(struct svc_serv *serv);
-int            svc_sock_names(char *buf, struct svc_serv *serv, char *toclose);
-int            svc_addsock(struct svc_serv *serv, int fd, char *name_return);
+int            svc_sock_names(struct svc_serv *serv, char *buf,
+                                       const size_t buflen,
+                                       const char *toclose);
+int            svc_addsock(struct svc_serv *serv, const int fd,
+                                       char *name_return, const size_t len);
 void           svc_init_xprt_sock(void);
 void           svc_cleanup_xprt_sock(void);
 struct svc_xprt *svc_sock_create(struct svc_serv *serv, int prot);