summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_krpc.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2009-06-30 19:10:17 +0000
committerdfr <dfr@FreeBSD.org>2009-06-30 19:10:17 +0000
commit836bf4cc580f1658ab6e9ccc71a8fb189b302a4c (patch)
tree1f9d7b54916b8144d1a37c6378b201c1eb421df4 /sys/nfsclient/nfs_krpc.c
parent5d248bb05f33623d905b8b5a72d90e459d23be96 (diff)
downloadFreeBSD-src-836bf4cc580f1658ab6e9ccc71a8fb189b302a4c.zip
FreeBSD-src-836bf4cc580f1658ab6e9ccc71a8fb189b302a4c.tar.gz
Adjust the internal NFS KPI to avoid the last traces of NFS_LEGACYRPC.
Approved by: re
Diffstat (limited to 'sys/nfsclient/nfs_krpc.c')
-rw-r--r--sys/nfsclient/nfs_krpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsclient/nfs_krpc.c b/sys/nfsclient/nfs_krpc.c
index 44b852d..098c46b 100644
--- a/sys/nfsclient/nfs_krpc.c
+++ b/sys/nfsclient/nfs_krpc.c
@@ -183,7 +183,7 @@ nfs_init_rtt(struct nfsmount *nmp)
* We do not free the sockaddr if error.
*/
int
-nfs_connect(struct nfsmount *nmp, struct nfsreq *rep)
+nfs_connect(struct nfsmount *nmp)
{
int rcvreserve, sndreserve;
int pktscale;
@@ -511,7 +511,7 @@ nfs_request(struct vnode *vp, struct mbuf *mreq, int procnum,
* and let clnt_reconnect_create handle reconnects.
*/
if (!nmp->nm_client)
- nfs_connect(nmp, NULL);
+ nfs_connect(nmp);
auth = nfs_getauth(nmp, cred);
if (!auth) {
@@ -799,7 +799,7 @@ nfs_msleep(struct thread *td, void *ident, struct mtx *mtx, int priority, char *
* This is used for NFSMNT_INT mounts.
*/
int
-nfs_sigintr(struct nfsmount *nmp, struct nfsreq *rep, struct thread *td)
+nfs_sigintr(struct nfsmount *nmp, struct thread *td)
{
struct proc *p;
sigset_t tmpset;
OpenPOWER on IntegriCloud